From c1acf2aba6be459a2b3a06e3cc71cdddfe0d1b9a Mon Sep 17 00:00:00 2001 From: konradSC Date: Sat, 25 Mar 2017 01:03:29 -0400 Subject: [PATCH] Update voicemail_edit.php (#2452) Sets the default value for the tutorial to false if the database has a null value. --- 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 7cdacb2902..0b4ab712cb 100644 --- a/app/voicemails/voicemail_edit.php +++ b/app/voicemails/voicemail_edit.php @@ -307,6 +307,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { 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"; } + if (strlen($voicemail_tutorial) == 0) { $voicemail_tutorial = "false"; } //get the greetings list $sql = "select * from v_voicemail_greetings ";