From: Michael Date: Tue, 8 Oct 2019 04:42:51 +0000 (+0000) Subject: Fix: The getGUID function hadn't fetched the GUID from pictures with scale "0" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=11194d6679e20fbc33929972b884a3ac1345e2d1;p=friendica.git Fix: The getGUID function hadn't fetched the GUID from pictures with scale "0" --- diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 34a5acfc9f..4baef04b9b 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -690,7 +690,7 @@ class Photo extends BaseObject } $scale = intval(substr($guid, -1, 1)); - if (empty($scale)) { + if (!is_numeric($scale)) { return ''; }