Fixing style errors.

This commit is contained in:
stickler-ci 2019-10-29 10:16:49 +00:00
parent d310ca6e82
commit 52ef2bb990

View File

@ -672,7 +672,7 @@ function security_prepare_head()
/** /**
* Prepare array with list of tabs * Prepare array with list of tabs
* @param object $object descriptor class * @param object $object descriptor class
* @return array Array of tabs to show * @return array Array of tabs to show
*/ */
function modulehelp_prepare_head($object) function modulehelp_prepare_head($object)
@ -680,9 +680,9 @@ function modulehelp_prepare_head($object)
global $langs, $conf, $user; global $langs, $conf, $user;
$h = 0; $h = 0;
$head = array(); $head = array();
// FIX for compatibity habitual tabs // FIX for compatibity habitual tabs
$object->id = $object->numero; $object->id = $object->numero;
$head[$h][0] = DOL_URL_ROOT."/admin/modulehelp.php?id=".$object->id.'&mode=desc'; $head[$h][0] = DOL_URL_ROOT."/admin/modulehelp.php?id=".$object->id.'&mode=desc';
$head[$h][1] = $langs->trans("Description"); $head[$h][1] = $langs->trans("Description");
@ -702,9 +702,9 @@ function modulehelp_prepare_head($object)
$h++; $h++;
} }
complete_head_from_modules($conf,$langs,null,$head,$h,'modulehelp_admin'); complete_head_from_modules($conf, $langs, null, $head, $h, 'modulehelp_admin');
complete_head_from_modules($conf,$langs,null,$head,$h,'modulehelp_admin','remove'); complete_head_from_modules($conf, $langs, null, $head, $h, 'modulehelp_admin', 'remove');
return $head; return $head;