From bfa76f2270ca28373420ab7936fb484237f33e39 Mon Sep 17 00:00:00 2001 From: Jimako Date: Thu, 15 Jun 2023 19:27:55 +0200 Subject: [PATCH] Update user_extended_class.php fix for #5013 --- e107_handlers/user_extended_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = "