summaryrefslogtreecommitdiff
path: root/classes/timehelper.php
diff options
context:
space:
mode:
Diffstat (limited to 'classes/timehelper.php')
-rw-r--r--classes/timehelper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/timehelper.php b/classes/timehelper.php
index e66f82f90..453ee0cee 100644
--- a/classes/timehelper.php
+++ b/classes/timehelper.php
@@ -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'];