From cb94f2c02b2c55f4ee762d2bb0d2e1ebb3dcc9cd Mon Sep 17 00:00:00 2001 From: frytimo Date: Wed, 31 Jul 2024 15:26:26 -0300 Subject: [PATCH] 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 --- app/voicemails/voicemail_messages.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/voicemails/voicemail_messages.php b/app/voicemails/voicemail_messages.php index ac485372e0..3072de60b1 100644 --- a/app/voicemails/voicemail_messages.php +++ b/app/voicemails/voicemail_messages.php @@ -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;