From 1790641e4d5d2474fdc3c31c6617385a69a56a33 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Fri, 13 Aug 2010 18:48:10 +0000 Subject: [PATCH] fix services bugs (thanks to neitsabes71) git-svn-id: http://www.observium.org/svn/observer/trunk@1682 61d68cd4-352d-0410-923a-c4978735b2b8 --- check-services.php | 2 +- html/includes/graphs/service/auth.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/check-services.php b/check-services.php index 1a9781cb3..23fff5523 100755 --- a/check-services.php +++ b/check-services.php @@ -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); } } diff --git a/html/includes/graphs/service/auth.inc.php b/html/includes/graphs/service/auth.inc.php index 9ab66800e..bf4fd8d9e 100644 --- a/html/includes/graphs/service/auth.inc.php +++ b/html/includes/graphs/service/auth.inc.php @@ -1,4 +1,4 @@ -