Skip to content

Commit

Permalink
Update user_extended_class.php
Browse files Browse the repository at this point in the history
fix for #5013
  • Loading branch information
Jimmi08 authored Jun 15, 2023
1 parent 8324e24 commit bfa76f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e107_handlers/user_extended_class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1387,7 +1387,7 @@ public function renderElement($struct, $curval, $opts=array())

$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 = "<select id='{$fid}' {$include} name='{$fname}' {$required} {$title}>\n";
Expand Down

0 comments on commit bfa76f2

Please sign in to comment.