Update voicemail_edit.php
This commit is contained in:
parent
6dc677027b
commit
19b14f16f8
|
|
@ -156,7 +156,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
$sql .= "voicemail_transcription_enabled, ";
|
||||
$sql .= "voicemail_tutorial, ";
|
||||
$sql .= "voicemail_file, ";
|
||||
if (permission_exists('voicemail_local_after_email')) {
|
||||
$sql .= "voicemail_local_after_email, ";
|
||||
}
|
||||
$sql .= "voicemail_enabled, ";
|
||||
$sql .= "voicemail_description ";
|
||||
$sql .= ")";
|
||||
|
|
@ -173,7 +175,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
$sql .= "'".$voicemail_transcription_enabled."', ";
|
||||
$sql .= "'".$voicemail_tutorial."', ";
|
||||
$sql .= "'".$voicemail_file."', ";
|
||||
if (permission_exists('voicemail_local_after_email')) {
|
||||
$sql .= "'".$voicemail_local_after_email."', ";
|
||||
}
|
||||
$sql .= "'".$voicemail_enabled."', ";
|
||||
$sql .= "'".$voicemail_description."' ";
|
||||
$sql .= ")";
|
||||
|
|
@ -194,7 +198,9 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
$sql .= "voicemail_transcription_enabled = '".$voicemail_transcription_enabled."', ";
|
||||
$sql .= "voicemail_tutorial = '".$voicemail_tutorial."', ";
|
||||
$sql .= "voicemail_file = '".$voicemail_file."', ";
|
||||
if (permission_exists('voicemail_local_after_email')) {
|
||||
$sql .= "voicemail_local_after_email = '".$voicemail_local_after_email."', ";
|
||||
}
|
||||
$sql .= "voicemail_enabled = '".$voicemail_enabled."', ";
|
||||
$sql .= "voicemail_description = '".$voicemail_description."' ";
|
||||
$sql .= "where domain_uuid = '".$domain_uuid."' ";
|
||||
|
|
@ -562,6 +568,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
if (permission_exists('voicemail_local_after_email')) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
echo " ".$text['label-voicemail_local_after_email']."\n";
|
||||
|
|
@ -575,6 +582,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||
echo $text['description-voicemail_local_after_email']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
}
|
||||
|
||||
if ($action == "update") {
|
||||
echo " <tr>";
|
||||
|
|
|
|||
Loading…
Reference in New Issue