refactor and custom user entities
This commit is contained in:
@@ -735,7 +735,7 @@ class InfoBox
|
||||
}
|
||||
$x++;
|
||||
}
|
||||
if ($pl['2h'] == 1) {
|
||||
if (isset($pl['2h']) && $pl['2h'] == 1) {
|
||||
$lvar .= '<br>• Двуручное оружие';
|
||||
}
|
||||
if (isset($po['zonb'])) {
|
||||
@@ -766,7 +766,7 @@ class InfoBox
|
||||
}
|
||||
|
||||
|
||||
if ($pl['iznosMAX'] > 0) {
|
||||
if (isset($pl['iznosMAX']) && $pl['iznosMAX'] > 0) {
|
||||
$lvar .= '<br>Долговечность: ' . floor($pl['iznosNOW']) . DIRECTORY_SEPARATOR . ceil($pl['iznosMAX']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user