Update productcustomerprice.class.php

This commit is contained in:
Laurent Destailleur 2017-08-22 11:38:32 +02:00 committed by GitHub
parent 9871bc3d9a
commit 7d57cd6913

View File

@ -672,7 +672,7 @@ class Productcustomerprice extends CommonObject
// Call triggers
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('CUSTOMER_PRODUCT_SELLPRICE_CREATE',$this,$user,$langs,$conf);
$result=$interface->run_triggers('PRODUCT_CUSTOMER_PRICE_UPDATE',$this,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
// End call triggers
}