MAPG-119 prevent endless loop for place selection
This commit is contained in:
1 parent
5a1c384c17
commit
5237c3f454
1 file changed
+1
-1
@@ -34,7 +34,7 @@ class PlaceRepository
|
||||
$panoId = $this->requestPanoId($place);
|
||||
|
||||
if ($panoId === null) {
|
||||
$placesWithoutPano[] = $place['id'];
|
||||
$placesWithoutPano[] = $exclude[] = $place['id'];
|
||||
}
|
||||
} while ($panoId === null);
|
||||
|
||||
|
||||
Reference in new issue
Block a user