Отображение предметов

This commit is contained in:
lopar
2018-06-24 18:58:15 +03:00
parent 2548e7c09c
commit 3deab714ff
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ if ($_SESSION['receiverName']) {
db::c()->query('INSERT INTO `telegraph` (`receiver`,`text`) VALUES (?i,"?s")', $receiverId, $telegraphText);
$statusMessage = 'Сообщение отправлено.';
} else $statusMessage = 'Сообщение было оставлено пустым!';
} else $statusMessage = 'Телеграф сломался!';
}
if ($submit == 'sendItem' && $sendItemId && $user['money'] >= 1) {
$res = db::c()->query('SELECT `id`,`name` FROM `inventory` WHERE `owner` = ?i AND `id` = ?i AND `dressed` = 0 AND `setsale` = 0 AND `present` = "?s" AND `artefact` = 0', $_SESSION['uid'], $sendItemId, null)->fetch_assoc();