This commit is contained in:
Rodolphe Quiedeville 2005-08-08 13:38:16 +00:00
parent d185c9deaa
commit 753abaac3b

View File

@ -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);