Update conference_control_detail_edit.php

This commit is contained in:
FusionPBX 2019-09-19 09:22:07 -06:00 committed by GitHub
parent 0c67dafb52
commit b15a8a21c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 60 additions and 59 deletions

View File

@ -33,14 +33,15 @@
} }
//get http post variables and set them to php variables //get http post variables and set them to php variables
if (count($_POST)>0) { if (count($_POST) > 0) {
$control_digits = $_POST["control_digits"]; $control_digits = $_POST["control_digits"];
$control_action = $_POST["control_action"]; $control_action = $_POST["control_action"];
$control_data = $_POST["control_data"]; $control_data = $_POST["control_data"];
$control_enabled = $_POST["control_enabled"]; $control_enabled = $_POST["control_enabled"];
} }
if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) { //process the http post
if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
//get the uuid //get the uuid
if ($action == "update") { if ($action == "update") {
@ -105,7 +106,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
exit; exit;
} }
} }
//pre-populate the form //pre-populate the form
if (count($_GET) > 0 && $_POST["persistformvar"] != "true") { if (count($_GET) > 0 && $_POST["persistformvar"] != "true") {