From 5ae9e3fc519ce122ce09078ea61d93e7a7aea7dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 26 Sep 2025 23:52:51 +0200 Subject: [PATCH] add TRIGGER_PREFIX in workstation.class.php (#35508) --- htdocs/workstation/class/workstation.class.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/htdocs/workstation/class/workstation.class.php b/htdocs/workstation/class/workstation.class.php index bdf988642bd..26a293a9e78 100644 --- a/htdocs/workstation/class/workstation.class.php +++ b/htdocs/workstation/class/workstation.class.php @@ -52,6 +52,11 @@ class Workstation extends CommonObject */ public $picto = 'workstation'; + /** + * @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 = 'WORKSTATION'; const STATUS_DISABLED = 0; const STATUS_ENABLED = 1;