summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2016-06-29 21:03:57 +0200
committerStephen Beaver <sbeaver@netgate.com>2016-07-03 13:50:39 -0400
commit0e7148a119a244af3e8b7bfdefb2365aa59f8c0f (patch)
treed573e0512a8cce6f1d8f3f6d99cb302643d9da1e /src/usr/local
parent9e899320b943d885aef8d823dff1b7b921cbdc80 (diff)
downloadpfsense-0e7148a119a244af3e8b7bfdefb2365aa59f8c0f.zip
pfsense-0e7148a119a244af3e8b7bfdefb2365aa59f8c0f.tar.gz
ipsec widget, check for valid array
(cherry picked from commit 658180daffe0fe5f005b6fe6b528c758309dffef)
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/widgets/widgets/ipsec.widget.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php
index 0fcdc75..8bf48cb 100644
--- a/src/usr/local/www/widgets/widgets/ipsec.widget.php
+++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php
@@ -181,6 +181,9 @@ if ($_REQUEST && $_REQUEST['ajax']) {
break;
case "mobile" :
+ if (!is_array($mobile['pool'])) {
+ break;
+ }
foreach ($mobile['pool'] as $pool) {
if (!is_array($pool['lease'])) {
continue;
OpenPOWER on IntegriCloud