From ea4ab6ac09e78f73ac80cb96800ec150c9926392 Mon Sep 17 00:00:00 2001 From: chansizzle <14916599+chansizzle@users.noreply.github.com> Date: Tue, 1 Oct 2019 14:35:52 -0600 Subject: [PATCH] Update fifo_interactive_inc.php (#4712) --- app/fifo_list/fifo_interactive_inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/fifo_list/fifo_interactive_inc.php b/app/fifo_list/fifo_interactive_inc.php index e2b3c9a051..0527ffda28 100644 --- a/app/fifo_list/fifo_interactive_inc.php +++ b/app/fifo_list/fifo_interactive_inc.php @@ -134,7 +134,7 @@ echo "".$text['label-duration']."\n"; echo "\n"; - if (is_array($xml->fifo->callers->caller) && @sizeof($xml->fifo->callers->caller) != 0) { + if ($xml->fifo->callers->caller && @sizeof($xml->fifo->callers->caller) != 0) { foreach ($xml->fifo->callers->caller as $row) { /* $username = $row->caller_profile->username; @@ -218,7 +218,7 @@ echo "\n"; //print_r($xml->fifo->outbound->member[0]); //print_r($xml->fifo->outbound->member[1]); - if (is_array($xml->fifo->outbound->member) && @sizeof($xml->fifo->outbound->member) != 0) { + if ($xml->fifo->outbound->member && @sizeof($xml->fifo->outbound->member) != 0) { foreach ($xml->fifo->outbound->member as $row) { $username=explode("@",$row); $username=explode("/",$username[0]);