Merge "Remove incorrect timezone conversion from date parameters"
[lhc/web/wiklou.git] / includes / logging / LogEntry.php
index 39e679b..b53a486 100644 (file)
@@ -821,7 +821,7 @@ class ManualLogEntry extends LogEntryBase {
        }
 
        public function getTimestamp() {
-               $ts = $this->timestamp !== null ? $this->timestamp : wfTimestampNow();
+               $ts = $this->timestamp ?? wfTimestampNow();
 
                return wfTimestamp( TS_MW, $ts );
        }