MAPG-119 prevent endless loop for place selection

This commit is contained in:
bence committed 2020-06-10 23:12:30 +02:00
1 parent 5a1c384c17
commit 5237c3f454
1 file changed
+1 -1
+1 -1
View File
@@ -34,7 +34,7 @@ class PlaceRepository
$panoId = $this->requestPanoId($place); $panoId = $this->requestPanoId($place);
if ($panoId === null) { if ($panoId === null) {
$placesWithoutPano[] = $place['id']; $placesWithoutPano[] = $exclude[] = $place['id'];
} }
} while ($panoId === null); } while ($panoId === null);