fix warning message on install
This commit is contained in:
parent
007ae59788
commit
04d8a679a7
@ -1975,7 +1975,7 @@ function dol_print_date($time, $format = '', $tzoutput = 'auto', $outputlangs =
|
|||||||
{
|
{
|
||||||
global $conf, $langs;
|
global $conf, $langs;
|
||||||
|
|
||||||
if ($tzoutput == 'auto') {
|
if ($tzoutput == 'auto' && property_exists($conf,'tzuserinputkey')) {
|
||||||
$tzoutput = $conf->tzuserinputkey;
|
$tzoutput = $conf->tzuserinputkey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user