Swap the order of two lines to make the debug output have the right data.

Signed-off-by:  <unostar@danalan.info>
This commit is contained in:
Bharat Mediratta
2009-06-20 09:41:00 +08:00
committed by
parent 73a34bdff3
commit 4e1e429fbf
+1 -1
View File
@@ -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 {