From: Michael Vogel Date: Tue, 14 Aug 2018 06:36:31 +0000 (+0200) Subject: Fixed wrong handling of empty variable in fromgplus (#703) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7c6aa340d9125e5fba18b4519196871c84a7b5c2;p=friendica-addons.git Fixed wrong handling of empty variable in fromgplus (#703) --- 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"];