FIX : Wrong trigger name
This commit is contained in:
parent
90723357c4
commit
e058ab40a0
@ -192,7 +192,7 @@ class ChargeSociales extends CommonObject
|
||||
$this->id=$this->db->last_insert_id(MAIN_DB_PREFIX."chargesociales");
|
||||
|
||||
//dol_syslog("ChargesSociales::create this->id=".$this->id);
|
||||
$result=$this->call_trigger('PAYMENTSOCIALCONTRIBUTION_CREATE',$user);
|
||||
$result=$this->call_trigger('SOCIALCONTRIBUTION_CREATE',$user);
|
||||
if ($result < 0) $error++;
|
||||
|
||||
if(empty($error)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user