Update trigger on shipping validation to rename action 'DELIVERY_VALIDATE'

This commit is contained in:
fcharpentier 2010-05-17 16:24:19 +00:00
parent dc77231df7
commit bb5d3bc421

View File

@ -463,7 +463,7 @@ class Expedition extends CommonObject
// Appel des triggers
include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('ORDER_SHIPPING',$this,$user,$langs,$conf);
$result=$interface->run_triggers('DELIVERY_VALIDATE',$this,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
// Fin appel triggers
}