projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85adfd5
)
user_list_cells Real name shows empty when not entered in user table. @kvvaradha.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 14 Apr 2019 21:30:50 +0000
(23:30 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 14 Apr 2019 21:30:50 +0000
(23:30 +0200)
includes/ui/ui_lists.inc
patch
|
blob
|
history
diff --git
a/includes/ui/ui_lists.inc
b/includes/ui/ui_lists.inc
index c70343af04c318171ce94c63fa804645781fcc74..8e4da29d0f467e6e59cf4874cc9b8a532661fd91 100644
(file)
--- a/
includes/ui/ui_lists.inc
+++ b/
includes/ui/ui_lists.inc
@@
-2691,7
+2691,7
@@
function accounts_type_list_row($label, $name, $selected_id=null)
function users_list_cells($label, $name, $selected_id=null, $submit_on_change=false, $spec_opt=true)
{
$where = false;
-
$sql = " SELECT user_id, real_name
FROM ".TB_PREF."users";
+
$sql = " SELECT user_id, IF(real_name = ' ', user_id, real_name)
FROM ".TB_PREF."users";
if ($label != null)
echo "<td>$label</td>\n";