diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-20 01:30:59 +0800 |
---|---|---|
committer | <unostar@danalan.info> | 2009-06-20 09:41:00 +0800 |
commit | 4e1e429fbfa49c60fb4a24c05af1debcd433c0d4 (patch) | |
tree | 5f3947ac49730b7c13ee3b5cfd6166b3ec40cb8e | |
parent | 73a34bdff38f1663d2c861bf5780835948cccb3e (diff) |
Swap the order of two lines to make the debug output have the right data.
Signed-off-by: <unostar@danalan.info>
-rw-r--r-- | modules/g2_import/helpers/g2_import.php | 2 |
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 c929dbec..00e3d31a 100644 --- a/modules/g2_import/helpers/g2_import.php +++ b/modules/g2_import/helpers/g2_import.php @@ -437,8 +437,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 { |