Update extension_edit.php
Use a slightly more elegant approach from the master branch.
This commit is contained in:
parent
7b47ee638c
commit
a579f82192
|
|
@ -1806,8 +1806,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo "</td>\n";
|
||||
echo "<td width=\"70%\" class='vtable' align='left'>\n";
|
||||
require_once "app/music_on_hold/resources/classes/switch_music_on_hold.php";
|
||||
$options = '';
|
||||
$moh = new switch_music_on_hold;
|
||||
echo $moh->select('hold_music', $hold_music, '');
|
||||
echo $moh->select('hold_music', $hold_music, $options);
|
||||
echo " <br />\n";
|
||||
echo $text['description-hold_music']."\n";
|
||||
echo "</td>\n";
|
||||
|
|
|
|||
Loading…
Reference in New Issue