bug fix for voicemail edit transcription (#7324)
* bug fix for voicemail edit transcription * Update voicemail_edit.php
This commit is contained in:
parent
6d356194ba
commit
c8699a5797
|
|
@ -63,6 +63,7 @@
|
||||||
$voicemail_option_digits = '';
|
$voicemail_option_digits = '';
|
||||||
$voicemail_option_description = '';
|
$voicemail_option_description = '';
|
||||||
$voicemail_mail_to = '';
|
$voicemail_mail_to = '';
|
||||||
|
$transcribe_enabled = $settings->get('transcribe', 'enabled', false);
|
||||||
|
|
||||||
//get http variables and set them to php variables
|
//get http variables and set them to php variables
|
||||||
$referer_path = $_REQUEST["referer_path"] ?? '';
|
$referer_path = $_REQUEST["referer_path"] ?? '';
|
||||||
|
|
@ -833,7 +834,7 @@
|
||||||
echo "</tr>\n";
|
echo "</tr>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (permission_exists('voicemail_transcription_enabled') && filter_var($_SESSION['transcribe']['enabled']['boolean'] ?? false, FILTER_VALIDATE_BOOL)) {
|
if (permission_exists('voicemail_transcription_enabled') && $transcribe_enabled) {
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||||
echo " ".$text['label-voicemail_transcription_enabled']."\n";
|
echo " ".$text['label-voicemail_transcription_enabled']."\n";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue