mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-11 12:01:23 +01:00
Fix warning
This commit is contained in:
@@ -1977,7 +1977,7 @@ function dol_print_date($time, $format = '', $tzoutput = 'auto', $outputlangs =
|
|||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($tzoutput == 'auto') {
|
if ($tzoutput == 'auto') {
|
||||||
$tzoutput = $conf->tzuserinputkey;
|
$tzoutput = (empty($conf) ? 'tzserver' : $conf->tzuserinputkey);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clean parameters
|
// Clean parameters
|
||||||
|
|||||||
Reference in New Issue
Block a user