diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 142114e0061..5b184869587 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1976,7 +1976,7 @@ function dol_print_date($time, $format = '', $tzoutput = 'auto', $outputlangs = { global $conf, $langs; - if ($tzoutput == 'auto' && property_exists($conf,'tzuserinputkey')) { + if ($tzoutput == 'auto' && property_exists($conf, 'tzuserinputkey')) { $tzoutput = $conf->tzuserinputkey; }