Skip to content

Commit

Permalink
Merge pull request #140 from davidgiga1993/master
Browse files Browse the repository at this point in the history
fix array_search comparison
  • Loading branch information
pommi authored Oct 6, 2016
2 parents 192cb0b + 8f120a8 commit 99ede4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion type/Base.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ function rrd_options() {
$rrdgraph[] = '--base';
$rrdgraph[] = $this->base;
}
if (!array_search('-l', $rrdgraph)) {
if (array_search('-l', $rrdgraph) === false) {
$rrdgraph[] = '-l';
$rrdgraph[] = '0';
}
Expand Down

0 comments on commit 99ede4b

Please sign in to comment.