Check the array isset in active calls.

This commit is contained in:
markjcrane
2016-04-28 21:29:54 -06:00
parent 0ec2083121
commit 7a9b9c8170
+2 -2
View File
@@ -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;