Fix 'TimeHelper::make_local_datetime()' (null is allowed).
This commit is contained in:
parent
58ea0d4339
commit
728a71150a
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue