From 1892f451bde9ed7965292ddbc646a2b1184b22d6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 26 Dec 2005 13:02:31 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20onglet=20mal=20d=E9fini?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture/prelevement.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/facture/prelevement.php b/htdocs/compta/facture/prelevement.php index 3a7a57483c2..4c45a3f8e53 100644 --- a/htdocs/compta/facture/prelevement.php +++ b/htdocs/compta/facture/prelevement.php @@ -113,8 +113,9 @@ if ($_GET["facid"] > 0) } $head = facture_prepare_head($fac); - - dolibarr_fiche_head($head, 2, $langs->trans('Bill').' : '.$fac->ref); + $hselected = 2; + if ($conf->use_preview_tabs) $hselected++; + dolibarr_fiche_head($head, $hselected, $langs->trans('Bill').' : '.$fac->ref); /* * Facture