From 82973eb0b763fe5479c53b1edd1003c5ac0a5414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Wed, 23 Apr 2014 15:49:13 +0200 Subject: [PATCH] Qual: Removed missing variable from function call --- htdocs/core/lib/fichinter.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/fichinter.lib.php b/htdocs/core/lib/fichinter.lib.php index 4b437d46e34..dc5668fd7d3 100644 --- a/htdocs/core/lib/fichinter.lib.php +++ b/htdocs/core/lib/fichinter.lib.php @@ -119,7 +119,7 @@ function fichinter_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:Title:@mymodule:/mymodule/mypage.php?id=__ID__'); to remove a tab - complete_head_from_modules($conf,$langs,$object,$head,$h,'fichinter_admin'); + complete_head_from_modules($conf,$langs,null,$head,$h,'fichinter_admin'); $head[$h][0] = DOL_URL_ROOT.'/fichinter/admin/fichinter_extrafields.php'; $head[$h][1] = $langs->trans("ExtraFields"); @@ -128,7 +128,7 @@ function fichinter_admin_prepare_head() - complete_head_from_modules($conf,$langs,$object,$head,$h,'fichinter_admin','remove'); + complete_head_from_modules($conf,$langs,null,$head,$h,'fichinter_admin','remove'); return $head; }