Баг в админке

This commit is contained in:
lopar
2018-06-24 17:09:58 +03:00
parent 4c6b7e32a4
commit d2e3a0b41a
2 changed files with 6 additions and 3 deletions

View File

@@ -20,7 +20,6 @@ $razdelId = filter_input(INPUT_GET, 'razdel');
$_SESSION['receiverName'] = filter_input(INPUT_POST, 'receiverName');
$receiverId = null;
$queryItems = null;
$allowOperations = false;
if ($_SESSION['receiverName']) {
$receiver = db::c()->query('SELECT `id`, `level`, `login` FROM `users` WHERE `login` = "?s"', $_SESSION['receiverName'])->fetch_assoc();
@@ -65,7 +64,7 @@ if ($_SESSION['receiverName']) {
}
$queryItems = db::c()->query('SELECT * FROM `inventory` WHERE `owner` = ?i AND `dressed` = 0 AND `setsale` = 0 AND `present` = "?s" AND `artefact` = 0 ORDER BY `update` DESC', $_SESSION['uid'], null);
}
}
} else $allowOperations = false;
?>
<!DOCTYPE html>
<html>