Notice: Undefined variable: user
This commit is contained in:
parent
3ab717e245
commit
6f3e596369
4
main.php
4
main.php
@ -325,8 +325,8 @@ function countmf()
|
|||||||
//global $user;
|
//global $user;
|
||||||
|
|
||||||
// Защита от урона и сокрушение?
|
// Защита от урона и сокрушение?
|
||||||
$zo = db::c()->query('SELECT 1 FROM `users_effects` WHERE `type` = 201 AND `owner_id` = ?i', $user['id'])->getNumRows();
|
$zo = db::c()->query('SELECT 1 FROM `users_effects` WHERE `type` = 201 AND `owner_id` = ?i', $_SESSION['uid'])->getNumRows();
|
||||||
$sokr = db::c()->query('SELECT 1 FROM `users_effects` WHERE `type` = 202 AND `owner_id` = ?i', $user['id'])->getNumRows();
|
$sokr = db::c()->query('SELECT 1 FROM `users_effects` WHERE `type` = 202 AND `owner_id` = ?i', $_SESSION['uid'])->getNumRows();
|
||||||
|
|
||||||
$user = new User($_SESSION['uid']);
|
$user = new User($_SESSION['uid']);
|
||||||
$userDressedItems = new DressedItems($_SESSION['uid']);
|
$userDressedItems = new DressedItems($_SESSION['uid']);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user