mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
BugFix-remove-legacy-warning (#1638)
changed switch_music_on_hold->select to be more inline of usage changed extension_edit to use new format changed call_center_queue_edit to use new format while https://github.com/fusionpbx/fusionpbx/pull/1637 is in testing
This commit is contained in:
@@ -724,10 +724,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
}
|
||||
require_once "app/music_on_hold/resources/classes/switch_music_on_hold.php";
|
||||
$moh= new switch_music_on_hold;
|
||||
$moh->select_name = "queue_moh_sound";
|
||||
$moh->select_value = $queue_moh_sound;
|
||||
$moh->select_options = $select_options;
|
||||
echo $moh->select();
|
||||
echo $moh->select("queue_moh_sound", $queue_moh_sound, $select_options);
|
||||
|
||||
echo "<br />\n";
|
||||
echo $text['description-music_on_hold']."\n";
|
||||
|
||||
Reference in New Issue
Block a user