mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
voicemail messages function is called twice. second call removes list (#7078)
When voicemail is called the first time, it correctly displays the list of voicemail messages. When it is called a second time the function returns an empty array and gives an empty display. This removes the second call to method 'messages' in 'voicemail' object. authored-by: Tim Fry <tim@fusionpbx.com>
This commit is contained in:
@@ -285,7 +285,6 @@
|
||||
$vm->order_by = $order_by;
|
||||
$vm->order = $order;
|
||||
$vm->offset = $offset;
|
||||
$voicemails = $vm->messages();
|
||||
|
||||
//count messages and detect if any transcriptions available
|
||||
$new_messages = $num_rows = 0;
|
||||
|
||||
Reference in New Issue
Block a user