mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fixes
git-svn-id: http://www.observium.org/svn/observer/trunk@140 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -34,6 +34,6 @@ while ($service = mysql_fetch_array($query)) {
|
||||
} else { unset($updated); }
|
||||
$update_sql = "UPDATE `services` SET `service_status` = '$status', `service_message` = '" . addslashes($check) . "', `service_checked` = '" . time() . "' $updated WHERE `service_id` = '" . $service['service_id']. "'";
|
||||
mysql_query($update_sql);
|
||||
echo("$update_sql " . mysql_affected_rows() . " rows updated\n");
|
||||
# echo("$update_sql " . mysql_affected_rows() . " rows updated\n");
|
||||
}
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user