Check the array isset in active calls.
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
Portions created by the Initial Developer are Copyright (C) 2008-2012
|
Portions created by the Initial Developer are Copyright (C) 2008-2016
|
||||||
the Initial Developer. All Rights Reserved.
|
the Initial Developer. All Rights Reserved.
|
||||||
|
|
||||||
Contributor(s):
|
Contributor(s):
|
||||||
@@ -94,7 +94,7 @@ else {
|
|||||||
echo "</table>";
|
echo "</table>";
|
||||||
|
|
||||||
$rows = array();
|
$rows = array();
|
||||||
foreach ($results["rows"] as &$row) {
|
if (isset($results["rows"])) foreach ($results["rows"] as &$row) {
|
||||||
//determine show all
|
//determine show all
|
||||||
if (!($show == 'all' && permission_exists('call_active_all'))) {
|
if (!($show == 'all' && permission_exists('call_active_all'))) {
|
||||||
$foreign_call = true;
|
$foreign_call = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user