summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/g2_import/helpers/g2_import.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/g2_import/helpers/g2_import.php b/modules/g2_import/helpers/g2_import.php
index 792025cc..4cac8304 100644
--- a/modules/g2_import/helpers/g2_import.php
+++ b/modules/g2_import/helpers/g2_import.php
@@ -443,8 +443,8 @@ class g2_import_Core {
switch ($g2_type) {
case "GalleryPhotoItem":
if (!in_array($g2_item->getMimeType(), array("image/jpeg", "image/gif", "image/png"))) {
- $g2_path = MODPATH . "g2_import/data/broken-image.gif";
Kohana::log("alert", "$g2_path is an unsupported image type; using a placeholder gif");
+ $g2_path = MODPATH . "g2_import/data/broken-image.gif";
$corrupt = 1;
}
try {