mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fixes issues with addresses having ' in
This commit is contained in:
@@ -79,8 +79,7 @@ if (!empty($_POST['location']) && $_POST['location'] == 'Unset') {
|
||||
|
||||
if (!empty($_POST['location'])) {
|
||||
$sql .= " AND `location` = ?";
|
||||
$param[] = mres($_POST['location']);
|
||||
$param[] = mres($_POST['location']);
|
||||
$param[] = $_POST['location'];
|
||||
}
|
||||
|
||||
if (!empty($_POST['group'])) {
|
||||
|
Reference in New Issue
Block a user