diff options
author | Arne Hamann <kontakt+github@arne.email> | 2022-03-23 18:05:50 +0300 |
---|---|---|
committer | Arne Hamann <kontakt+github@arne.email> | 2022-03-23 18:05:50 +0300 |
commit | 6b6ac89d10ab64c056d5f467d18ff9336f7e6590 (patch) | |
tree | 6ecb77bebeb120a9c8eaafe865d69442e2772b2e /lib | |
parent | c3f10ff244ec2c0286b50887075a794f79859c6a (diff) |
Don't guess empty locations
Signed-off-by: Arne Hamann <kontakt+github@arne.email>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Service/GeophotoService.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Service/GeophotoService.php b/lib/Service/GeophotoService.php index 1fc4ae2d..8a78e53e 100644 --- a/lib/Service/GeophotoService.php +++ b/lib/Service/GeophotoService.php @@ -169,9 +169,6 @@ class GeophotoService { $locations[] = $location; } } - if (count($locations) === 0) { - $locations[] = [null, null]; - } return $locations; } |