Update switch_music_on_hold.php
Sometimes we don't want to set music on hold on the extension level.
This commit is contained in:
parent
8314a08984
commit
0939acf79c
|
|
@ -61,6 +61,7 @@ include "root.php";
|
||||||
//music on hold
|
//music on hold
|
||||||
$music_list = $this->get();
|
$music_list = $this->get();
|
||||||
if (count($music_list) > 0) {
|
if (count($music_list) > 0) {
|
||||||
|
$select .= " <optgroup value=''>\n";
|
||||||
$select .= " <optgroup label='".$text['label-music_on_hold']."'>\n";
|
$select .= " <optgroup label='".$text['label-music_on_hold']."'>\n";
|
||||||
$previous_name = '';
|
$previous_name = '';
|
||||||
foreach($music_list as $row) {
|
foreach($music_list as $row) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue