diff --git a/htdocs/core/lib/usergroups.lib.php b/htdocs/core/lib/usergroups.lib.php index bf9c98dc903..d6097b6f5a1 100644 --- a/htdocs/core/lib/usergroups.lib.php +++ b/htdocs/core/lib/usergroups.lib.php @@ -179,9 +179,9 @@ function user_admin_prepare_head() // Entries must be declared in modules descriptor with line // $this->tabs = array('entity:+tabname:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to add new tab // $this->tabs = array('entity:-tabname); to remove a tab - complete_head_from_modules($conf,$langs,$object,$head,$h,'useradmin'); + complete_head_from_modules($conf,$langs,null,$head,$h,'useradmin'); - complete_head_from_modules($conf,$langs,$object,$head,$h,'useradmin','remove'); + complete_head_from_modules($conf,$langs,null,$head,$h,'useradmin','remove'); return $head; }