mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-02 05:01:04 -04:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user