FIX use new function getDolGlobalInt() instead

This commit is contained in:
Regis Houssin 2021-03-20 12:40:24 +01:00
parent 29e090b025
commit 972380860a

View File

@ -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'];
}