From 11194d6679e20fbc33929972b884a3ac1345e2d1 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 8 Oct 2019 04:42:51 +0000 Subject: [PATCH] Fix: The getGUID function hadn't fetched the GUID from pictures with scale "0" --- src/Model/Photo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Photo.php b/src/Model/Photo.php index 34a5acfc9f..4baef04b9b 100644 --- a/src/Model/Photo.php +++ b/src/Model/Photo.php @@ -690,7 +690,7 @@ class Photo extends BaseObject } $scale = intval(substr($guid, -1, 1)); - if (empty($scale)) { + if (!is_numeric($scale)) { return ''; } -- 2.39.5