Active Queues: Hide array warnings.
This commit is contained in:
parent
231ac12381
commit
afca52f267
|
|
@ -134,6 +134,7 @@
|
|||
echo "<th>".$text['label-duration']."</th>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
if (is_array($xml->fifo->callers->caller) && @sizeof($xml->fifo->callers->caller) != 0) {
|
||||
foreach ($xml->fifo->callers->caller as $row) {
|
||||
/*
|
||||
$username = $row->caller_profile->username;
|
||||
|
|
@ -192,7 +193,8 @@
|
|||
echo "<td valign='top' class='".$row_style[$c]."'>".escape($fifo_status)." </td>\n";
|
||||
echo "<td valign='top' class='".$row_style[$c]."'>".escape($fifo_duration_formatted)." </td>\n";
|
||||
echo "</tr>\n";
|
||||
if ($c==0) { $c=1; } else { $c=0; }
|
||||
$c = $c ? 0 : 1;
|
||||
}
|
||||
}
|
||||
echo "</table>\n";
|
||||
|
||||
|
|
@ -216,6 +218,7 @@
|
|||
echo "</tr>\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) {
|
||||
foreach ($xml->fifo->outbound->member as $row) {
|
||||
$username=explode("@",$row);
|
||||
$username=explode("/",$username[0]);
|
||||
|
|
@ -231,6 +234,7 @@
|
|||
echo "</tr>\n";
|
||||
$c = $c ? 0 : 1;
|
||||
}
|
||||
}
|
||||
echo "</table>\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue