From 11b708c102e9375cd9df7bf26e95bd714b106138 Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 9 Aug 2015 21:17:54 +0000 Subject: [PATCH] Fixes issues with addresses having ' in --- html/includes/table/devices.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/html/includes/table/devices.inc.php b/html/includes/table/devices.inc.php index 3cd85fee1a..ed57e6c166 100644 --- a/html/includes/table/devices.inc.php +++ b/html/includes/table/devices.inc.php @@ -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'])) {