Отладка информации о персонаже.

This commit is contained in:
lopar 2018-02-13 00:14:07 +02:00
parent 6c448b56f3
commit 88c2a31ac4

View File

@ -2020,7 +2020,7 @@ function show_eff_inf($u, $type)
$r = '';
$and = '';
if ($type == 1) {
$and = "AND `type` != 1022";
$and = " AND `type` != 1022";
}
// $ef = mysql_query('SELECT * FROM `effects` WHERE `owner` = "' . $u . '" ' . $and . '');
$effs = db::c()->query('SELECT * FROM `effects` WHERE `owner` = ?i'.$and, $u)->fetch_assoc();