Update voicemail_edit.php (#2447)

Set default value of per user voicemail transcription to false of the value is null in the database.
This commit is contained in:
konradSC
2017-03-24 14:48:28 -04:00
committed by FusionPBX
parent 9619dacfbb
commit 64d85ecbdb

View File

@@ -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 ";