This commit is contained in:
2024-02-10 03:12:05 +02:00
parent 7986d33ab6
commit 7c15294688
13 changed files with 389 additions and 403 deletions
+4 -4
View File
@@ -171,9 +171,9 @@ class Stats
$st['items'] = [];
$st['effects'] = [];
$st['vip'] = $u['vip'];
if (!empty($u['vip'])) {
$st['vip'] = $u['vip'];
}
foreach (Conversion::dataStringToArray($u['stats']) as $stat => $value) {
//fixme несуществующие статы mg5 mg6 a6 s8-s15
@@ -297,7 +297,7 @@ class Stats
//Бонусы комплектов
if (is_iterable($coms['new'])) {
if (isset($coms['new']) && is_iterable($coms['new'])) {
foreach ($coms['new'] as $complect) {
$com = Db::getValue(
'select data from complects where com = ? and x <= ? order by x desc limit 1',