From f63f8a570caf77adae3eb20deee33ee5a901b19d Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Fri, 26 May 2006 07:09:40 +0000
Subject: [PATCH] =?UTF-8?q?Fix:=20mauvaise=20s=E9lection=20de=20l'onglet?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 htdocs/commande/note.php | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php
index efcde017797..304268dc2ee 100644
--- a/htdocs/commande/note.php
+++ b/htdocs/commande/note.php
@@ -104,11 +104,8 @@ if ($_GET["id"])
     $soc->fetch($commande->socidp);
 
     $head = commande_prepare_head($commande);
-    $hselected = 2;
-    if ($conf->use_preview_tabs) $hselected++;
-    if ($fac->mode_reglement_code == 'PRE') $hselected++;
 
-    dolibarr_fiche_head($head, $hselected, $langs->trans("CustomerOrder"));
+    dolibarr_fiche_head($head, 'note', $langs->trans("CustomerOrder"));
 
 
     print '<table class="border" width="100%">';
-- 
GitLab