From cdda08c0d3200ece5b7e0eb6a1c22b46c1b9beae Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 22 Aug 2019 11:47:03 +0200 Subject: [PATCH] FIX #11685 --- htdocs/core/lib/functions.lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 24a87c15032..625cbbee4b7 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1209,7 +1209,7 @@ function dol_get_fiche_head($links = array(), $active = '', $title = '', $notab } if ($popuptab) $outmore.=''; - if ($displaytab > $limittoshow) + if ($popuptab) // If there is some tabs not shown { $left=($langs->trans("DIRECTION") == 'rtl'?'right':'left'); $right=($langs->trans("DIRECTION") == 'rtl'?'left':'right');