Some additional fixes for PHP errors

Some additional fixes for PHP errors
This commit is contained in:
novgorodschi catalin
2026-08-17 10:31:03 +03:00
parent d9df87c622
commit 0f81a2b25e
11 changed files with 27 additions and 12 deletions
@@ -1563,7 +1563,7 @@ trait DatabaseVillageQueries {
$y1 = intval($coor['y']);
$prevdist = 0;
$array2 = $this->getVillage(0, 4);
$vill = $array2['wref'];
$vill = $array2['wref'] ?? 0;
if ($array && count($array)){
foreach($array as $village){