From 5c043937f3e345615bb712e39207f5099eb60965 Mon Sep 17 00:00:00 2001 From: Norbert Penel Date: Sat, 27 Sep 2025 04:04:38 +0200 Subject: [PATCH] fix webhook with bad MRP trigger call (#35507) * fix webhook with bad MRP trigger call fix #35258 * Update functions.lib.php --------- Co-authored-by: Laurent Destailleur --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index fbc12ca76c7..86175a54e92 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -14708,7 +14708,7 @@ function getElementProperties($elementType) } elseif ($elementType == 'usergroup') { $classpath = 'user/class'; $module = 'user'; - } elseif ($elementType == 'mo') { + } elseif ($elementType == 'mo' || $elementType == 'mrp') { $classpath = 'mrp/class'; $classfile = 'mo'; $classname = 'Mo';