Fixed wrong handling of empty variable in fromgplus #703

Merged
annando merged 1 commits from notice-gplus into develop 2018-08-14 08:36:32 +02:00
1 changed files with 1 additions and 1 deletions

View File

@ -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"];