mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
minor cleanups, also don't send png mime header when doing graph debug, firefox won't show the debug text then
git-svn-id: http://www.observium.org/svn/observer/trunk@1919 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -91,7 +91,7 @@ if ($_GET['opta'] == "down" || $_GET['type'] == "down" || $_POST['state'] == "do
|
||||
} elseif ($_GET['opta'] == "admindown" || $_GET['type'] == "admindown" || $_POST['state'] == "admindown") {
|
||||
$where .= "AND I.ifAdminStatus = 'down'";
|
||||
} elseif ($_GET['opta'] == "errors" || $_GET['type'] == "errors" || $_POST['state'] == "errors") {
|
||||
$where .= "AND ( I.`ifInErrors_delta` > '0' OR I.`ifOutErrors_delta` > '0' )";
|
||||
$where .= "AND (I.`ifInErrors_delta` > '0' OR I.`ifOutErrors_delta` > '0')";
|
||||
} elseif ($_GET['type'] == "up" || $_POST['state'] == "up") {
|
||||
$where .= "AND I.ifOperStatus = 'up'";
|
||||
} elseif ($_GET['opta'] == "ignored" || $_GET['type'] == "ignored" || $_POST['state'] == "ignored") {
|
||||
|
||||
Reference in New Issue
Block a user