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
1 changed files with 1 additions and 1 deletions

View File

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