diff --git a/app/extensions/extension_edit.php b/app/extensions/extension_edit.php index fa86feb150..cb37522806 100644 --- a/app/extensions/extension_edit.php +++ b/app/extensions/extension_edit.php @@ -674,7 +674,6 @@ //$array["voicemails"][$i]["voicemail_alternate_greet_id"] = $alternate_greet_id; $array["voicemails"][$i]["voicemail_mail_to"] = $voicemail_mail_to; //$array["voicemails"][$i]["voicemail_attach_file"] = $voicemail_attach_file; - $array["voicemails"][$i]["voicemail_transcription_enabled"] = $voicemail_transcription_enabled; $array["voicemails"][$i]["voicemail_file"] = $voicemail_file; if (permission_exists('voicemail_local_after_email')) { $array["voicemails"][$i]["voicemail_local_after_email"] = $voicemail_local_after_email; @@ -884,11 +883,10 @@ $voicemail_password = str_replace("#", "", $row["voicemail_password"]); $voicemail_mail_to = str_replace(" ", "", $row["voicemail_mail_to"]); $voicemail_transcription_enabled = $row["voicemail_transcription_enabled"]; + $voicemail_tutorial = $row["voicemail_tutorial"]; $voicemail_file = $row["voicemail_file"]; $voicemail_local_after_email = $row["voicemail_local_after_email"]; $voicemail_enabled = $row["voicemail_enabled"]; - $voicemail_transcription_enabled = $row["voicemail_transcription_enabled"]; - $voicemail_tutorial = $row["voicemail_tutorial"]; } unset($sql, $parameters, $row); } @@ -1723,7 +1721,7 @@ echo "\n"; echo "\n"; - if (permission_exists('voicemail_transcription_enabled') && $_SESSION['voicemail']['transcribe_enabled']['boolean'] == "true") { + if (permission_exists('voicemail_transcription_enabled')) { echo "