Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Commit

Permalink
Fix syntax error / PHP error
Browse files Browse the repository at this point in the history
  • Loading branch information
David Durieux committed Jul 29, 2015
1 parent c0f5430 commit 9af35ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/shinken.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3887,7 +3887,7 @@ function add_value_type($val, $key, $data) {
case "snapshot_enabled":
case "trigger_broker_raise_enabled":
$data[$key] = (bool)$val;
if ($data[$key] == ') {
if ($data[$key] == '') {
$data[$key] = 0;
}
break;
Expand Down

0 comments on commit 9af35ad

Please sign in to comment.