mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Prevent more PHP warnings (#7609)
* Prevent more PHP warnings * Update call_broadcast_edit.php * Update call_center_agent_edit.php * Update call_flow_edit.php * Update call_center_queue_edit.php * Update conference_center_edit.php * Update conference_room_edit.php * Update conference_control_detail_edit.php * Update conference_control_edit.php * Update conference_profile_edit.php * Update conference_edit.php * Update conference_profile_param_edit.php * Update destination_edit.php * Update device_edit.php * Update dialplan_inbound_add.php * Update dialplan_outbound_add.php * Update dialplan_add.php * Update dialplan_edit.php * Update event_guard_logs.php * Update extension_setting_edit.php * Update extension_edit.php * Update fax_edit.php * Update fifo_edit.php * Update ivr_menu_edit.php * Update phrase_edit.php * Update ring_group_edit.php * Update sip_profile_edit.php * Update stream_edit.php * Update time_condition_edit.php * Update var_edit.php * Update voicemail_edit.php * Update xml_cdr_search.php * Update dashboard_widget_edit.php * Update domain_edit.php * Update group_edit.php * Update user_edit.php * Update gateway_edit.php
This commit is contained in:
@@ -377,12 +377,12 @@
|
||||
}
|
||||
|
||||
//set the defaults
|
||||
if (!isset($voicemail_local_after_email)) { $voicemail_local_after_email = true; }
|
||||
if (!isset($voicemail_enabled)) { $voicemail_enabled = $settings->get('voicemail', 'enabled_default', true); }
|
||||
if (!isset($voicemail_transcription_enabled)) { $voicemail_transcription_enabled = $settings->get('voicemail', 'transcription_enabled_default', false); }
|
||||
if (!isset($voicemail_tutorial)) { $voicemail_tutorial = false; }
|
||||
if (!isset($voicemail_recording_instructions)) { $voicemail_recording_instructions = true; }
|
||||
if (!isset($voicemail_recording_options)) { $voicemail_recording_options = true; }
|
||||
$voicemail_local_after_email = $voicemail_local_after_email ?? true;
|
||||
$voicemail_enabled = $voicemail_enabled ?? $settings->get('voicemail', 'enabled_default', true);
|
||||
$voicemail_transcription_enabled = $voicemail_transcription_enabled ?? $settings->get('voicemail', 'transcription_enabled_default', false);
|
||||
$voicemail_tutorial = $voicemail_tutorial ?? false;
|
||||
$voicemail_recording_instructions = $voicemail_recording_instructions ?? true;
|
||||
$voicemail_recording_options = $voicemail_recording_options ?? true;
|
||||
|
||||
//get the greetings list
|
||||
$sql = "select * from v_voicemail_greetings ";
|
||||
|
||||
Reference in New Issue
Block a user