diff --git a/functions.php b/functions.php index 6334dfa..2c2987d 100644 --- a/functions.php +++ b/functions.php @@ -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();