From 972380860aafbb404d6a5cd9d5d8292468db8000 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 20 Mar 2021 12:40:24 +0100 Subject: [PATCH] FIX use new function getDolGlobalInt() instead --- htdocs/main.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index 2ddb9455a8e..2bae455383c 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -1438,7 +1438,7 @@ function top_htmlhead($head, $title = '', $disablejs = 0, $disablehead = 0, $arr } $themeparam = '?lang='.$langs->defaultlang.'&theme='.$conf->theme.(GETPOST('optioncss', 'aZ09') ? '&optioncss='.GETPOST('optioncss', 'aZ09', 1) : '').'&userid='.$user->id.'&entity='.$conf->entity; - $themeparam .= ($ext ? '&'.$ext : '').'&revision='.(empty($conf->global->MAIN_IHM_PARAMS_REV) ? '0' : $conf->global->MAIN_IHM_PARAMS_REV); + $themeparam .= ($ext ? '&'.$ext : '').'&revision='.getDolGlobalInt("MAIN_IHM_PARAMS_REV"); if (!empty($_SESSION['dol_resetcache'])) { $themeparam .= '&dol_resetcache='.$_SESSION['dol_resetcache']; }