Fix: Pas de parenthèse si champ vide

This commit is contained in:
Laurent Destailleur 2005-04-15 18:35:25 +00:00
parent a00bc1b709
commit 013eb704d7

View File

@ -269,7 +269,8 @@ else
{ {
$obj = $db->fetch_object(); $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++; $i++;
} }
} }