ошибка в SQL

This commit is contained in:
Igor Barkov (iwork) 2020-07-20 17:01:59 +03:00
parent ab947aace4
commit b6640ae32f

View File

@ -46,7 +46,7 @@ SELECT SUM(add_strength) as sum_strength,
SUM(add_criticals) as sum_criticals,
SUM(add_min_physical_damage) as sum_min_phys_damage,
SUM(add_max_physical_damage) as sum_max_phys_damage
FROM inventory WHERE owner_id = ?i AND dressed_slot > 0'
FROM inventory WHERE owner_id = ?i AND dressed_slot > 0
SQL;
$this->DBSUM = db::c()->query($query, $this->USERID)->fetch_assoc();
} catch (Exception $e) {