mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 01:35:54 +00:00
Fix 'TimeHelper::make_local_datetime()' (null is allowed).
This commit is contained in:
@@ -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 {
|
bool $no_smart_dt = false, bool $eta_min = false): string {
|
||||||
|
|
||||||
if (!$owner_uid) $owner_uid = $_SESSION['uid'];
|
if (!$owner_uid) $owner_uid = $_SESSION['uid'];
|
||||||
|
|||||||
Reference in New Issue
Block a user