From 2548e7c09c9d4be2fcf3575f22d9e6e99ccf5d55 Mon Sep 17 00:00:00 2001 From: lopar Date: Sun, 24 Jun 2018 18:40:00 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B5=D0=BC=D0=BE=D0=BD=D1=82=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=87=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- post.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/post.php b/post.php index 95af742..04c3b16 100644 --- a/post.php +++ b/post.php @@ -42,8 +42,7 @@ if ($_SESSION['receiverName']) { db::c()->query('INSERT INTO `telegraph` (`receiver`,`text`) VALUES (?i,"?s")', $receiverId, $telegraphText); $statusMessage = 'Сообщение отправлено.'; } else $statusMessage = 'Сообщение было оставлено пустым!'; - } - $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();