aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mass_image_import.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/mass_image_import.module b/mass_image_import.module
index 3f97bf0..699e77e 100644
--- a/mass_image_import.module
+++ b/mass_image_import.module
@@ -300,7 +300,7 @@ function mass_image_import_create_node_from($filepath, $title, $body, $type) {
drupal_write_record('files', $file);
// Create node.
- $node = new StdClass();
+ $node = new stdClass();
$node->type = $type;
// Add image field.