diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 207ff01dc84..f1cb50a5366 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -57,6 +57,12 @@ class Commande extends CommonOrder */ public $element = 'commande'; + /** + * @var string Prefix to check for any trigger code of any business class to prevent bad value for trigger code. + * @see CommonTrigger::call_trigger() + */ + public $TRIGGER_PREFIX = 'ORDER'; + /** * @var string Name of table without prefix where object is stored */