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:
@@ -1786,10 +1786,8 @@ 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";
|
||||
$moh= new switch_music_on_hold;
|
||||
$moh->select_name = "hold_music";
|
||||
$moh->select_value = $hold_music;
|
||||
echo $moh->select();
|
||||
$moh = new switch_music_on_hold;
|
||||
echo $moh->select('hold_music', $hold_music);
|
||||
echo " <br />\n";
|
||||
echo $text['description-hold_music']."\n";
|
||||
echo "</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user