mirror of
https://github.com/beestat/app.git
synced 2026-05-13 10:52:29 -04:00
Minor changes for PHP8
This commit is contained in:
+1
-1
@@ -195,7 +195,7 @@ class runtime extends cora\api {
|
||||
'Y-m-d H:i:s',
|
||||
max(
|
||||
$sync_end,
|
||||
strtotime($thermostat['sync_end'])
|
||||
$thermostat['sync_end'] === null ? null : strtotime($thermostat['sync_end'])
|
||||
)
|
||||
)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user