diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index db8ebc57c70..bedb62c1162 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -11362,6 +11362,9 @@ function getElementProperties($element_type) $classpath = 'adherents/class'; $module = 'adherent'; $subelement = 'adherent'; + } elseif ($element_type == 'usergroup') { + $classpath = 'user/class'; + $module = 'user'; } elseif ($element_type == 'mo') { $classpath = 'mrp/class'; $classfile = 'mo';