1
1
Fork 0

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
commit e72402389d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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