diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-19 10:30:59 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-19 10:30:59 -0700 |
commit | b999b35d2471e65d99e6f90fde9ae96688c7a922 (patch) | |
tree | f816cc97e9feedf355f10de15862fd35f1be0723 | |
parent | d54afb71d42da1b2a3c289a3a95dfa672a172607 (diff) |
Swap the order of two lines to make the debug output have the right data.
-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 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 { |