From 6291cb4cbe6b135f96994975d6fd5c5cd1184c61 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 5 Feb 2018 15:41:34 +0100 Subject: [PATCH] Update commonobject.class.php --- htdocs/core/class/commonobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 76f8e55ff15..592960670a0 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -4708,7 +4708,7 @@ abstract class CommonObject { // Call trigger $this->context=array('extrafieldaddupdate'=>1); - $result=$this->call_trigger(strtoupper($trigger, $userused); + $result=$this->call_trigger($trigger, $userused); if ($result < 0) $error++; // End call trigger }