MAPG-119 prevent endless loop for place selection

This commit is contained in:
Bence Pőcze 2020-06-10 23:12:30 +02:00
parent 5a1c384c17
commit 5237c3f454

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);