mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-03 00:11:49 +02:00
fix apostrophes in location= filter variable
git-svn-id: http://www.observium.org/svn/observer/trunk@2962 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ foreach ($_GET as $key=>$get_var)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$segments = explode('/', trim($_SERVER['PATH_INFO'], '/'));
|
$segments = explode('/', trim($_SERVER['REQUEST_URI'], '/'));
|
||||||
|
|
||||||
foreach ($segments as $pos => $segment)
|
foreach ($segments as $pos => $segment)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -237,7 +237,6 @@ if($format == "graph")
|
|||||||
$row = 1;
|
$row = 1;
|
||||||
foreach (dbFetchRows($query, $sql_param) as $device)
|
foreach (dbFetchRows($query, $sql_param) as $device)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
|
if (is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
|
||||||
|
|
||||||
if (device_permitted($device['device_id']))
|
if (device_permitted($device['device_id']))
|
||||||
|
|||||||
Reference in New Issue
Block a user