FIX : same thing here
This commit is contained in:
parent
49e03b009f
commit
1237a6d3e9
@ -188,8 +188,8 @@ class MailingTargets // This can't be abstract as it is used for some method
|
|||||||
if ($this->db->errno() != 'DB_ERROR_RECORD_ALREADY_EXISTS')
|
if ($this->db->errno() != 'DB_ERROR_RECORD_ALREADY_EXISTS')
|
||||||
{
|
{
|
||||||
// Si erreur autre que doublon
|
// Si erreur autre que doublon
|
||||||
dol_syslog($this->db->error());
|
dol_syslog($this->db->error().' : '.$targetarray['email']);
|
||||||
$this->error=$this->db->error();
|
$this->error=$this->db->error().' : '.$targetarray['email'];
|
||||||
$this->db->rollback();
|
$this->db->rollback();
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user