From 55824688de535eb79140fa82834ee4768c715205 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@users.sourceforge.net>
Date: Sun, 20 Mar 2011 19:29:55 +0000
Subject: [PATCH] Fix: Pb with tabs url

---
 htdocs/lib/functions.lib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php
index 643a1a67ea2..03ec3e55ed0 100644
--- a/htdocs/lib/functions.lib.php
+++ b/htdocs/lib/functions.lib.php
@@ -3777,7 +3777,7 @@ function complete_head_from_modules($conf,$langs,$object,&$head,&$h,$type,$mode=
                     	$h++;
                     }
                 }
-            	if (sizeof($values) == 5)       // new declaration
+            	else if (sizeof($values) == 5)       // new declaration
                 {
                     if ($values[0] != $type) continue;
                     if ($values[3]) $langs->load($values[3]);
-- 
GitLab