mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Corrected inserting ' into overide syslocation string
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user