Update voicemail_edit.php (#2452)
Sets the default value for the tutorial to false if the database has a null value.
This commit is contained in:
@@ -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_local_after_email) == 0) { $voicemail_local_after_email = "true"; }
|
||||||
if (strlen($voicemail_enabled) == 0) { $voicemail_enabled = "true"; }
|
if (strlen($voicemail_enabled) == 0) { $voicemail_enabled = "true"; }
|
||||||
if (strlen($voicemail_transcription_enabled) == 0) { $voicemail_transcription_enabled = "false"; }
|
if (strlen($voicemail_transcription_enabled) == 0) { $voicemail_transcription_enabled = "false"; }
|
||||||
|
if (strlen($voicemail_tutorial) == 0) { $voicemail_tutorial = "false"; }
|
||||||
|
|
||||||
//get the greetings list
|
//get the greetings list
|
||||||
$sql = "select * from v_voicemail_greetings ";
|
$sql = "select * from v_voicemail_greetings ";
|
||||||
|
|||||||
Reference in New Issue
Block a user