Fix a bug in IVR Menu exit action select hangup did not display the action correctly
This commit is contained in:
parent
66745fde08
commit
be2c379852
|
|
@ -1597,9 +1597,9 @@ function switch_select_destination($select_type, $select_label, $select_name, $s
|
||||||
if (strlen($select_label) > 0) {
|
if (strlen($select_label) > 0) {
|
||||||
echo " <option value='".$select_value."' selected='selected'>".$select_label."</option>\n";
|
echo " <option value='".$select_value."' selected='selected'>".$select_label."</option>\n";
|
||||||
}
|
}
|
||||||
//else {
|
else {
|
||||||
// echo " <option value='".$select_value."' selected='selected'>".$select_value."</option>\n";
|
echo " <option value='".$select_value."' selected='selected'>".trim($select_value,":")."</option>\n";
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
if ($select_type == "dialplan" || $select_type == "ivr" || $select_type == "call_center_contact") {
|
if ($select_type == "dialplan" || $select_type == "ivr" || $select_type == "call_center_contact") {
|
||||||
echo "</optgroup>\n";
|
echo "</optgroup>\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue