2
0
forked from Wavyzz/dolibarr

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 <eldy@destailleur.fr>
This commit is contained in:
Norbert Penel
2025-09-27 04:04:38 +02:00
committed by GitHub
parent bf21674d27
commit 5c043937f3

View File

@@ -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';