From 57e540af5374ce5a719ccdabdc0532da7af06ae1 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 5 May 2017 17:46:40 +0200 Subject: [PATCH] For better compatibility with module for 6.0 --- htdocs/core/lib/functions.lib.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index c05d9268b74..8d14a377c75 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -802,6 +802,8 @@ function dol_get_fiche_head($links=array(), $active='', $title='', $notab=0, $pi { global $conf, $langs, $hookmanager; + if ($notab == -1) $notab = 0; // For better compatiblity with modules for 6.0 + $out="\n".'
'."\n"; // Show title