presents fix

This commit is contained in:
Igor Barkov [iwork]
2018-12-11 18:50:32 +02:00
parent 1ce478e985
commit 674f946657
2 changed files with 2 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ $user = db::c()->query('SELECT `id`,`login`,`married`,`win`,borndate,`align`,`ad
WHERE `login` = "?s" OR `id` = "?s"', $login, $login)->fetch_assoc();
$own = db::c()->query('SELECT `align`,`admin` FROM `users` WHERE `id` = "?s"', $uid)->fetch_assoc();
$presents = db::c()->query('SELECT `img`,`present` FROM `inventory` WHERE `present`<>"?s" AND `owner` = ?i','',$user['id']);
$presents = db::c()->query('SELECT `img`,`present` FROM `inventory` WHERE type = 200 AND `present`<>"?s" AND `owner` = ?i','',$user['id']);
if (empty($user['id'])): ?>
<html>