Опечатка в имени базы. Ошибки в названиях картинок локаций.

This commit is contained in:
lopar
2020-10-26 20:37:13 +02:00
parent 826471baa3
commit f61794aad5
2 changed files with 26 additions and 26 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ class Travel
{
public static function toRoom(int $roomId, string $redirectToFile = 'city.php'): void
{
$itemsWeight = db::c()->query('SELECT SUM(weight) AS all_weight FROM `inventory` WHERE owner_id = ?i AND `setsale` = 0', $_SESSION['uid'])->fetch_assoc();
$itemsWeight = db::c()->query('SELECT SUM(weight) AS all_weight FROM `inventory` WHERE owner_id = ?i AND on_sale = 0', $_SESSION['uid'])->fetch_assoc();
$eff = db::c()->query('SELECT type FROM users_effects WHERE owner_id = ?i AND (`type` = 10 OR `type` = 13 OR `type` = 14)', $_SESSION['uid'])->fetch_assoc();
$errors = [];
if ($itemsWeight['all_weight'] > get_meshok()) {