Merge pull request #12523 from oscim/patch-11

Put $object in complete_head_from_modules
This commit is contained in:
Laurent Destailleur 2019-11-28 12:20:16 +01:00 committed by GitHub
commit 540f47b998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;