diff --git a/e107_handlers/user_extended_class.php b/e107_handlers/user_extended_class.php index 756acc240..6a61584c3 100644 --- a/e107_handlers/user_extended_class.php +++ b/e107_handlers/user_extended_class.php @@ -1387,7 +1387,7 @@ class e107_user_extended $order = !empty($choices[3]) ? "ORDER BY " . $tp->toDB($choices[3], true) : ""; - if($sql->select($tp->toDB($choices[0], true), $tp->toDB($choices[1], true) . "," . $tp->toDB($choices[2], true), "1 $order")) + if($sql->select($tp->toDB($choices[0], true), $tp->toDB($choices[1], true) . "," . $tp->toDB($choices[2], true), "1 $order") !== FALSE) { $choiceList = $sql->db_getList('ALL', false); $ret = "