Fix: The getGUID function hadn't fetched the GUID from pictures with scale "0"

This commit is contained in:
Michael 2019-10-08 04:42:51 +00:00
parent 5f80180b47
commit 11194d6679

View File

@ -690,7 +690,7 @@ class Photo extends BaseObject
}
$scale = intval(substr($guid, -1, 1));
if (empty($scale)) {
if (!is_numeric($scale)) {
return '';
}