From b739ea15b281899d25c6f299813269e4b4673421 Mon Sep 17 00:00:00 2001 From: Jon Ziebell Date: Sun, 22 Jan 2023 13:47:53 -0500 Subject: [PATCH] Minor changes for PHP8 --- api/thermostat.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/thermostat.php b/api/thermostat.php index 5b4df44..f9c1786 100644 --- a/api/thermostat.php +++ b/api/thermostat.php @@ -280,6 +280,8 @@ class thermostat extends cora\crud { $where = []; + $where[] = '`profile` is not null'; + $keys_generated_columns = [ 'system_type_heat', 'system_type_heat_stages',