Merge pull request #7715 from annando/fix-getguid

The getGUID function hadn't fetched the GUID from pictures with scale "0"
This commit is contained in:
Philipp
2019-10-08 07:01:17 +02:00
committed by GitHub

View File

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