mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00: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:
@@ -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)
|
||||
{
|
||||
|
@@ -237,7 +237,6 @@ if($format == "graph")
|
||||
$row = 1;
|
||||
foreach (dbFetchRows($query, $sql_param) as $device)
|
||||
{
|
||||
|
||||
if (is_integer($row/2)) { $row_colour = $list_colour_a; } else { $row_colour = $list_colour_b; }
|
||||
|
||||
if (device_permitted($device['device_id']))
|
||||
|
Reference in New Issue
Block a user