Correct the syntax for the app destinations array.
This commit is contained in:
@@ -34,15 +34,15 @@
|
|||||||
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";
|
$apps[$x]['destinations'][$y]['select_label'] = "\${destination} \${name}";
|
||||||
if ($_SESSION['ivr menu']['application']['text'] != "lua") {
|
if ($_SESSION['ivr menu']['application']['text'] != "lua") {
|
||||||
$y++;
|
$y++;
|
||||||
$this->destinations[$x]['type'] = 'array';
|
$apps[$x]['destinations'][$x]['type'] = 'array';
|
||||||
//$this->destinations[$x]['label'] = 'ivr_menus';
|
//$apps[$x]['destinations'][$x]['label'] = 'ivr_menus';
|
||||||
$this->destinations[$x]['result']['data'][$y]['label'] = 'menu-top';
|
$apps[$x]['destinations'][$y]['label'] = 'menu-top';
|
||||||
$this->destinations[$x]['result']['data'][$y]['name'] = 'menu-top:';
|
$apps[$x]['destinations'][$y]['name'] = 'menu-top:';
|
||||||
$this->destinations[$x]['result']['data'][$y]['destination'] = 'menu-top';
|
$apps[$x]['destinations'][$y]['destination'] = 'menu-top';
|
||||||
$y++;
|
$y++;
|
||||||
$this->destinations[$x]['result']['data'][$y]['label'] = 'menu-exit';
|
$apps[$x]['destinations'][$y]['label'] = 'menu-exit';
|
||||||
$this->destinations[$x]['result']['data'][$y]['name'] = 'menu-exit';
|
$apps[$x]['destinations'][$y]['name'] = 'menu-exit';
|
||||||
$this->destinations[$x]['result']['data'][$y]['destination'] = 'menu-exit';
|
$apps[$x]['destinations'][$y]['destination'] = 'menu-exit';
|
||||||
$y++;
|
$y++;
|
||||||
$apps[$x]['destinations'][$y]['type'] = "sql";
|
$apps[$x]['destinations'][$y]['type'] = "sql";
|
||||||
$apps[$x]['destinations'][$y]['label'] = "sub_ivr_menus";
|
$apps[$x]['destinations'][$y]['label'] = "sub_ivr_menus";
|
||||||
|
|||||||
Reference in New Issue
Block a user