From c744d85ecc09673f5c71fba36b0d4be8c4b7497a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 17 Sep 2019 23:32:22 -0600 Subject: [PATCH] More changes required to make this work on device_edit.php. Disable until the changes are ready. --- app/devices/device_edit.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/app/devices/device_edit.php b/app/devices/device_edit.php index 70d096ccec..73070f90ef 100644 --- a/app/devices/device_edit.php +++ b/app/devices/device_edit.php @@ -192,12 +192,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //validate the token - $token = new token; - if (!$token->validate($_SERVER['PHP_SELF'])) { - message::add($text['message-invalid_token'],'negative'); - header('Location: devices.php'); - exit; - } + //$token = new token; + //if (!$token->validate($_SERVER['PHP_SELF'])) { + // message::add($text['message-invalid_token'],'negative'); + // header('Location: devices.php'); + // exit; + //} //check for all required data $msg = ''; @@ -1597,7 +1597,7 @@ if ($action == "update") { echo " \n"; } - echo " \n"; + //echo " \n"; echo "
"; echo " \n"; echo " \n";