Update conference_control_detail_edit.php

This commit is contained in:
FusionPBX 2019-09-19 09:22:07 -06:00 committed by GitHub
parent 9fbfc1c319
commit 999afc58f3
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
if (count($_POST)>0) {
if (count($_POST) > 0) {
$control_digits = $_POST["control_digits"];
$control_action = $_POST["control_action"];
$control_data = $_POST["control_data"];
$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
if ($action == "update") {
@ -105,7 +106,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
exit;
}
}
}
//pre-populate the form
if (count($_GET) > 0 && $_POST["persistformvar"] != "true") {