forked from Wavyzz/dolibarr
Add TRIGGER_PREFIX in order (commande) class (#35268)
Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user