mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-08 00:52:01 +01:00
Qual: Clean code to reduce nb of properties into classes
This commit is contained in:
@@ -41,7 +41,7 @@ function fichinter_prepare_head($object)
|
||||
$head[$h][2] = 'contact';
|
||||
$h++;
|
||||
|
||||
if ($conf->use_preview_tabs)
|
||||
if (! empty($conf->global->MAIN_USE_PREVIEW_TABS))
|
||||
{
|
||||
$head[$h][0] = DOL_URL_ROOT.'/fichinter/apercu.php?id='.$object->id;
|
||||
$head[$h][1] = $langs->trans('Preview');
|
||||
|
||||
Reference in New Issue
Block a user