Enable the ability to clear the greeting id

This commit is contained in:
Mark Crane 2012-12-31 16:38:45 +00:00
parent 16545e6ff5
commit 3a1d2bd4bc
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
if (strlen($greeting_id) > 0) {
$sql .= "greeting_id = '$greeting_id', ";
}
else {
$sql .= "greeting_id = null, ";
}
$sql .= "voicemail_mail_to = '$voicemail_mail_to', ";
$sql .= "voicemail_attach_file = '$voicemail_attach_file', ";
$sql .= "voicemail_local_after_email = '$voicemail_local_after_email', ";