Fix: Pas de parenthèse si champ vide
This commit is contained in:
parent
a00bc1b709
commit
013eb704d7
1 changed files with 2 additions and 1 deletions
|
|
@ -269,7 +269,8 @@ else
|
|||
{
|
||||
$obj = $db->fetch_object();
|
||||
|
||||
$uss[$obj->rowid] = ucfirst(stripslashes($obj->name)).' '.ucfirst(stripslashes($obj->firstname).' ('.$obj->login.')');
|
||||
$uss[$obj->rowid] = ucfirst(stripslashes($obj->name)).' '.ucfirst(stripslashes($obj->firstname));
|
||||
if ($obj->login) $uss[$obj->rowid].=' ('.$obj->login.')';
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue