mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Set the default value of voicemail_file to attach
If the voicemail_file is empty set the value to attach as the default.
This commit is contained in:
@@ -122,6 +122,11 @@ if ($domains_processed == 1) {
|
||||
$database->execute($sql);
|
||||
unset($sql);
|
||||
|
||||
//set default value of voicemail_file to attach
|
||||
$sql = "update v_voicemails set voicemail_file = 'attach' where voicemail_file is null";
|
||||
$database->execute($sql);
|
||||
unset($sql);
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user