fix services bugs (thanks to neitsabes71)

git-svn-id: http://www.observium.org/svn/observer/trunk@1682 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2010-08-13 18:48:10 +00:00
parent 58a6c3befd
commit 1790641e4d
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ while ($service = mysql_fetch_array($query)) {
shell_exec($create);
}
if($status = "1" || $status = "0") {
if($status == "1" || $status == "0") {
rrdtool_update($rrd,"N:".$status);
}
}

View File

@ -1,4 +1,4 @@
<?
<?php
if(is_numeric($id))
{