Merge pull request #1651 from laf/location-fix

Fixes issues with addresses having ' in
This commit is contained in:
Daniel Preussker
2015-08-09 21:35:46 +00:00

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