From 4eb3e5c4e70f408ac04bdde26b3ed75acdccd40d Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 14 Aug 2018 05:44:47 +0000 Subject: [PATCH] Fixed wrong handling of empty variable in fromgplus --- fromgplus/fromgplus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index 990a5855..24ec46f3 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -280,7 +280,7 @@ function fromgplus_cleanupgoogleproxy($fullImage, $image) { if (!empty($cleaned["preview"])) $infoPreview = Image::getInfoFromURL($cleaned["preview"]); else - $infoFull = ["0" => 0, "1" => 0]; + $infoPreview = ["0" => 0, "1" => 0]; if (($infoPreview[0] >= $infoFull[0]) && ($infoPreview[1] >= $infoFull[1])) { $temp = $cleaned["full"];