]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Photo.php
Fix: The getGUID function hadn't fetched the GUID from pictures with scale "0"
[friendica.git] / 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 '';
                }