bad class bug

This commit is contained in:
lopar
2018-03-03 22:56:05 +02:00
parent a86e5a6cd7
commit ba1182c95d
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ include_once 'functions.php';
if (!$user['klan']) {
die(err('Вы не состоите в клане!'));
}
$klan = db::c()->query('SELECT * FROM `clans` WHERE `id` = ?i', $u->i()['klan'])->fetch_assoc();
$klan = db::c()->query('SELECT * FROM `clans` WHERE `id` = ?i', $user['klan'])->fetch_assoc();
$polno = [];
$polno = unserialize($klan['vozm']);
?>