1
0
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:
Jon Ziebell
2023-01-21 22:01:08 -05:00
parent 5942b04ca9
commit d7146e23ab
4 changed files with 12 additions and 6 deletions
+1 -1
View File
@@ -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'])
)
)
]