Fix: include trigger
This commit is contained in:
parent
3dfeabb35b
commit
f7883c6cb6
@ -1031,15 +1031,12 @@ class Facture extends CommonObject
|
|||||||
{
|
{
|
||||||
if (! $notrigger)
|
if (! $notrigger)
|
||||||
{
|
{
|
||||||
// Uncomment this and change MYOBJECT to your own tag if you
|
// Call triggers
|
||||||
// want this action call a trigger.
|
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
|
||||||
|
$interface=new Interfaces($this->db);
|
||||||
//// Call triggers
|
$result=$interface->run_triggers('BILL_MODIFY',$this,$user,$langs,$conf);
|
||||||
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
|
if ($result < 0) { $error++; $this->errors=$interface->errors; }
|
||||||
//$interface=new Interfaces($this->db);
|
// End call triggers
|
||||||
//$result=$interface->run_triggers('BILL_MODIFY',$this,$user,$langs,$conf);
|
|
||||||
//if ($result < 0) { $error++; $this->errors=$interface->errors; }
|
|
||||||
//// End call triggers
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user