mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-12 21:55:56 +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 {
|
||||
|
||||
if (!$owner_uid) $owner_uid = $_SESSION['uid'];
|
||||
|
||||
Reference in New Issue
Block a user