Put $object in complete_head_from_modules

Add object for correctly usage in function complete_head_from_modules
This commit is contained in:
oscim
2019-11-26 16:34:16 +01:00
committed by GitHub
parent 30ea48a715
commit 1e6b93500a

View File

@@ -702,9 +702,9 @@ function modulehelp_prepare_head($object)
$h++;
}
complete_head_from_modules($conf, $langs, null, $head, $h, 'modulehelp_admin');
complete_head_from_modules($conf, $langs, $object, $head, $h, 'modulehelp_admin');
complete_head_from_modules($conf, $langs, null, $head, $h, 'modulehelp_admin', 'remove');
complete_head_from_modules($conf, $langs, $object, $head, $h, 'modulehelp_admin', 'remove');
return $head;