Bugfix
This commit is contained in:
parent
4e277fcd82
commit
9b60237112
@ -83,14 +83,6 @@ if ($resql)
|
|||||||
|
|
||||||
$result = UpdatePreselection($host, $user_login, $user_passwd, $lint, $num_abo);
|
$result = UpdatePreselection($host, $user_login, $user_passwd, $lint, $num_abo);
|
||||||
|
|
||||||
if ($result == 0)
|
|
||||||
{
|
|
||||||
if ($lint->statut == 9)
|
|
||||||
{
|
|
||||||
$lint->set_statut($user, 2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -150,7 +142,7 @@ function UpdatePreselection($host, $user_login, $user_passwd, $lint, $id_person)
|
|||||||
preg_match('/^<string xmlns=".*">(.*)<\/string>$/', $line, $results);
|
preg_match('/^<string xmlns=".*">(.*)<\/string>$/', $line, $results);
|
||||||
|
|
||||||
$result = $results[1];
|
$result = $results[1];
|
||||||
//dolibarr_syslog($line);
|
dolibarr_syslog($line);
|
||||||
$parse = 0;
|
$parse = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user