Remove some unused code and some fix

Remove some unused code and some fix
This commit is contained in:
novgorodschi catalin
2026-05-21 13:12:21 +03:00
parent 878ecec687
commit 05bfde9063
22 changed files with 256 additions and 901 deletions
+2 -2
View File
@@ -146,7 +146,7 @@ class adm_DB {
$dataarray = $$name;
for ($i = 1; $i <= $lvl; $i++) {
$popT += $dataarray[$i]['pop'];
$popT += $dataarray[$i]['pop'] ?? 0;
}
return $popT;
}
@@ -158,7 +158,7 @@ class adm_DB {
$dataarray = $$name;
for ($i = 1; $i <= $lvl; $i++) {
$popT += $dataarray[$i]['cp'];
$popT += $dataarray[$i]['cp'] ?? 0;
}
return $popT;
}