211 |
|
|
212 |
if (substr($result,0,2) == "OK") |
if (substr($result,0,2) == "OK") |
213 |
{ |
{ |
214 |
dolibarr_syslog("Presel réussie ligne ".$lint->numero." id client ".$id_person." $result\n"); |
dolibarr_syslog("Presel OK ".$lint->numero." ".$lint->support." id client ".$id_person." $result\n"); |
215 |
return 0; |
return 0; |
216 |
} |
} |
217 |
else |
else |
218 |
{ |
{ |
219 |
dolibarr_syslog("Presel échouée ligne ".$lint->numero." id client ".$id_person." $result\n"); |
dolibarr_syslog("Presel ERR ".$lint->numero." ".$lint->support." id client ".$id_person." $result\n"); |
220 |
|
|
221 |
$fp = fopen("/tmp/".$lint->numero.".presel","w"); |
$fp = fopen("/tmp/".$lint->numero.".presel","w"); |
222 |
if ($fp) |
if ($fp) |