Skip to content

Commit

Permalink
PHP 8.1 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
remdex committed Nov 29, 2021
1 parent cb1912c commit 5e2494d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lhc_web/lib/models/lhchat/erlhcoreclassmodelchat.php
Expand Up @@ -436,7 +436,7 @@ public function __get($var) {
break;

case 'user_tz_identifier_time':
$date = new DateTime(null, new DateTimeZone($this->user_tz_identifier));
$date = new DateTime('NOW', new DateTimeZone($this->user_tz_identifier));
$this->user_tz_identifier_time = $date->format(erLhcoreClassModule::$dateHourFormat);
return $this->user_tz_identifier_time;
break;
Expand Down

0 comments on commit 5e2494d

Please sign in to comment.