summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/g2_import/helpers/g2_import.php2
-rw-r--r--modules/gallery/helpers/graphics.php2
2 files changed, 1 insertions, 3 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 93d92659..71199eaf 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -667,8 +667,6 @@ class g2_import_Core {
}
}
}
- } else {
- // @todo Figure out away to create the thumbnail and resizes?
}
$item->save();
}
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php
index 71b8ddd8..bbae0602 100644
--- a/modules/gallery/helpers/graphics.php
+++ b/modules/gallery/helpers/graphics.php
@@ -195,7 +195,7 @@ class graphics_Core {
self::init_toolkit();
}
- if (filesize($input_file) == 0) {
+ if (@filesize($input_file) == 0) {
throw new Exception("@todo EMPTY_INPUT_FILE");
}