Skip to content

Commit

Permalink
Merge pull request #339 from twa127/master
Browse files Browse the repository at this point in the history
Bug Fix
  • Loading branch information
pihome-shc authored Jul 19, 2020
2 parents 40f59da + 5c43dd9 commit 322eb3e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cron/boiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ function scanArrayRecursively($arr, $index) {
$zone_current_state = mysqli_fetch_array($result);
$zone_status_prev = $zone_current_state['status'];
$zone_overrun_prev = $zone_current_state['overrun'];
$zone_current_mode = $zone_current_state['mode'];

// process if a sensor is attached to this zone
if ($zone_category == 0 OR $zone_category == 1) {
Expand Down Expand Up @@ -740,9 +741,9 @@ function scanArrayRecursively($arr, $index) {
} //end if($zone_status == 1)
} //end of while loop

//***************************************************************************************
//Zone Commands loop
//***************************************************************************************
/***************************************************************************************
Zone Commands loop
***************************************************************************************/
for ($row = 0; $row < count($zone_commands); $row++){
$zone_id = $zone_commands[$row]["zone_id"];
$zone_category = $zone_commands[$row]["zone_category"];
Expand Down

0 comments on commit 322eb3e

Please sign in to comment.