From 64d85ecbdb897f3ac5512020f080fcbf39a77f95 Mon Sep 17 00:00:00 2001 From: konradSC Date: Fri, 24 Mar 2017 14:48:28 -0400 Subject: [PATCH] Update voicemail_edit.php (#2447) Set default value of per user voicemail transcription to false of the value is null in the database. --- app/voicemails/voicemail_edit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/voicemails/voicemail_edit.php b/app/voicemails/voicemail_edit.php index b911916b80..7cdacb2902 100644 --- a/app/voicemails/voicemail_edit.php +++ b/app/voicemails/voicemail_edit.php @@ -306,6 +306,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //set defaults if (strlen($voicemail_local_after_email) == 0) { $voicemail_local_after_email = "true"; } if (strlen($voicemail_enabled) == 0) { $voicemail_enabled = "true"; } + if (strlen($voicemail_transcription_enabled) == 0) { $voicemail_transcription_enabled = "false"; } //get the greetings list $sql = "select * from v_voicemail_greetings ";