mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 03:23:40 +00:00
Fixed wrong handling of empty variable in fromgplus (#703)
This commit is contained in:
parent
46222ae13b
commit
7c6aa340d9
1 changed files with 1 additions and 1 deletions
|
@ -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"];
|
||||
|
|
Loading…
Reference in a new issue