Fixes issues with addresses having ' in

This commit is contained in:
laf
2015-08-09 21:17:54 +00:00
parent 15a338061d
commit 11b708c102

View File

@@ -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'])) {