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