Merge pull request #3188 from geordish/issue-1674

Corrected inserting ' into overide syslocation string
This commit is contained in:
Neil Lathwood
2016-03-08 20:54:35 +00:00
+1 -1
View File
@@ -5,7 +5,7 @@ if ($_POST['editing']) {
$override_sysLocation_bool = mres($_POST['override_sysLocation']);
if (isset($_POST['sysLocation'])) {
$override_sysLocation_string = mres($_POST['sysLocation']);
$override_sysLocation_string = $_POST['sysLocation'];
}
if ($device['override_sysLocation'] != $override_sysLocation_bool || $device['location'] != $override_sysLocation_string) {