mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-06 13:56:45 +08:00
it should work even if no timezone was set
Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
parent
5e1c252b2a
commit
0c2177bead
1 changed files with 5 additions and 1 deletions
|
@ -285,7 +285,11 @@ class DockerActionManager
|
||||||
$replacements[1] = '';
|
$replacements[1] = '';
|
||||||
}
|
}
|
||||||
} elseif ($out[1] === 'TIMEZONE') {
|
} elseif ($out[1] === 'TIMEZONE') {
|
||||||
$replacements[1] = $this->configurationManager->GetTimezone();
|
if ($this->configurationManager->GetTimezone() === '') {
|
||||||
|
$replacements[1] = 'UTC';
|
||||||
|
} else {
|
||||||
|
$replacements[1] = $this->configurationManager->GetTimezone();
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
$replacements[1] = $this->configurationManager->GetSecret($out[1]);
|
$replacements[1] = $this->configurationManager->GetSecret($out[1]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue