mirror of
https://github.com/e107inc/e107.git
synced 2025-03-13 08:59:44 +01:00
Merge pull request #5014 from Jimmi08/patch-6
Fixes #5013 False Error if UEF type DBField has no records
This commit is contained in:
commit
044481ab80
@ -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 = "<select id='{$fid}' {$include} name='{$fname}' {$required} {$title}>\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user