Fix 'TimeHelper::make_local_datetime()' (null is allowed).

This commit is contained in:
wn_ 2021-11-11 21:33:12 +00:00
parent 58ea0d4339
commit 728a71150a
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class TimeHelper {
}
}
static function make_local_datetime(string $timestamp, bool $long, int $owner_uid = null,
static function make_local_datetime(?string $timestamp, bool $long, int $owner_uid = null,
bool $no_smart_dt = false, bool $eta_min = false): string {
if (!$owner_uid) $owner_uid = $_SESSION['uid'];