mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Bugfix
This commit is contained in:
@@ -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 <20> jour $row[0]\n";
|
||||
|
||||
$contact = new Contact($db);
|
||||
$contact->id = $row[0];
|
||||
$contact->update_ldap($user);
|
||||
|
||||
Reference in New Issue
Block a user