Modif erreur
This commit is contained in:
parent
c3c58b6f0e
commit
a74210f3d8
1 changed files with 6 additions and 1 deletions
|
|
@ -571,7 +571,12 @@ class LigneTel {
|
|||
$sql .= " (tms, fk_ligne, fk_user, statut, comment,fk_fournisseur) ";
|
||||
$sql .= " VALUES (now(), $this->id, $user->id, $statut, '$commentaire',$this->fournisseur_id)";
|
||||
|
||||
$this->db->query($sql);
|
||||
if (!$this->db->query($sql))
|
||||
{
|
||||
dolibarr_syslog("LigneTel::set_statut Error -6");
|
||||
dolibarr_syslog($this->db->error());
|
||||
dolibarr_syslog($sql);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue