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:
commit
e72402389d
|
@ -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 '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue