mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -52,7 +52,7 @@ while ($service = mysql_fetch_array($query)) {
|
|||||||
shell_exec($create);
|
shell_exec($create);
|
||||||
}
|
}
|
||||||
|
|
||||||
if($status = "1" || $status = "0") {
|
if($status == "1" || $status == "0") {
|
||||||
rrdtool_update($rrd,"N:".$status);
|
rrdtool_update($rrd,"N:".$status);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<?
|
<?php
|
||||||
|
|
||||||
if(is_numeric($id))
|
if(is_numeric($id))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user