Bugfix
This commit is contained in:
parent
d185c9deaa
commit
753abaac3b
1 changed files with 3 additions and 1 deletions
|
|
@ -39,10 +39,12 @@ if ( $resql )
|
|||
$num = $db->num_rows($resql);
|
||||
$i = 0;
|
||||
|
||||
if ($num == 1)
|
||||
while ($i < $num)
|
||||
{
|
||||
$row = $db->fetch_row($resql);
|
||||
|
||||
print "Mise à jour $row[0]\n";
|
||||
|
||||
$contact = new Contact($db);
|
||||
$contact->id = $row[0];
|
||||
$contact->update_ldap($user);
|
||||
|
|
|
|||
Loading…
Reference in a new issue