]> git.mxchange.org Git - friendica.git/commitdiff
Fix: The getGUID function hadn't fetched the GUID from pictures with scale "0"
authorMichael <heluecht@pirati.ca>
Tue, 8 Oct 2019 04:42:51 +0000 (04:42 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 8 Oct 2019 04:42:51 +0000 (04:42 +0000)
src/Model/Photo.php

index 34a5acfc9f3694d4e35fce63587aa870b147bd1e..4baef04b9bc0666d85fe8574e603f96c77560e6f 100644 (file)
@@ -690,7 +690,7 @@ class Photo extends BaseObject
                }
 
                $scale = intval(substr($guid, -1, 1));
-               if (empty($scale)) {
+               if (!is_numeric($scale)) {
                        return '';
                }