aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeswitch/freeswitch_ivr_edit.tmp
diff options
context:
space:
mode:
Diffstat (limited to 'packages/freeswitch/freeswitch_ivr_edit.tmp')
-rw-r--r--packages/freeswitch/freeswitch_ivr_edit.tmp16
1 files changed, 8 insertions, 8 deletions
diff --git a/packages/freeswitch/freeswitch_ivr_edit.tmp b/packages/freeswitch/freeswitch_ivr_edit.tmp
index a196e931..6eaf8216 100644
--- a/packages/freeswitch/freeswitch_ivr_edit.tmp
+++ b/packages/freeswitch/freeswitch_ivr_edit.tmp
@@ -127,7 +127,7 @@ $parentid = $id;
if (isset($id) && $a_ivr[$id]) {
$pconfig['ivrid'] = $a_ivr[$id]['ivrid'];
$ivrid = $a_ivr[$id]['ivrid'];
- $pconfig['ivrextension'] = $a_ivr[$id]['ivrextension'];
+ $pconfig['ivrextension'] = $a_ivr[$id]['ivrextension'];
$pconfig['ivrname'] = $a_ivr[$id]['ivrname'];
$pconfig['recordingidaction'] = $a_ivr[$id]['recordingidaction'];
$pconfig['recordingidantiaction'] = $a_ivr[$id]['recordingidantiaction'];
@@ -161,26 +161,26 @@ if ($_POST) {
$ivrent = array();
if (strlen($_POST['ivrid']) > 0) {
- $ivrent['ivrid'] = $_POST['ivrid'];
+ $ivrent['ivrid'] = $_POST['ivrid'];
}
else {
- $ivrent['ivrid'] = guid();
- }
+ $ivrent['ivrid'] = guid();
+ }
$ivrent['ivrextension'] = $_POST['ivrextension'];
$ivrent['ivrname'] = $_POST['ivrname'];
$ivrent['recordingidaction'] = $_POST['recordingidaction'];
$ivrent['recordingidantiaction'] = $_POST['recordingidantiaction'];
$ivrent['ivrtimeout'] = $_POST['ivrtimeout'];
$ivrent['ivrcontext'] = $_POST['ivrcontext'];
- $ivrent['ivrconditionjs'] = base64_encode($_POST['ivrconditionjs']);
+ $ivrent['ivrconditionjs'] = base64_encode($_POST['ivrconditionjs']);
$ivrent['ivrdescr'] = $_POST['ivrdescr'];
if (isset($id) && $a_ivr[$id]) {
- //update
- $a_ivr[$id] = $ivrent;
+ //update
+ $a_ivr[$id] = $ivrent;
}
else {
- //add
+ //add
$a_ivr[] = $ivrent;
}