Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
Reset eventID when deleting it, so we do not activate/deactivate a no…
Browse files Browse the repository at this point in the history
…n-existing event
  • Loading branch information
Radulf321 committed Sep 4, 2018
1 parent a0b8ac3 commit b61ea39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Treppenhauslichtsteuerung/module.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ public function ApplyChanges() {
} else {
if($triggerID == 0) {
IPS_DeleteEvent($eid);
$eid = 0;
}
}

Expand Down

0 comments on commit b61ea39

Please sign in to comment.