From a579f82192c9780eaa4b7153a203334e62fbd367 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 18 Jan 2017 10:42:21 -0700 Subject: [PATCH] Update extension_edit.php Use a slightly more elegant approach from the master branch. --- app/extensions/extension_edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index af7b1b060c..46bc866e1f 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -1806,8 +1806,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { echo "\n"; echo "\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 "
\n"; echo $text['description-hold_music']."\n"; echo "\n";