From b999b35d2471e65d99e6f90fde9ae96688c7a922 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Fri, 19 Jun 2009 10:30:59 -0700 Subject: Swap the order of two lines to make the debug output have the right data. --- modules/g2_import/helpers/g2_import.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/g2_import/helpers') 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 { -- cgit v1.2.3