diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-02-25 09:32:11 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-02-25 09:32:11 -0300 |
commit | 5203443215689fcec7fae36fcd41698504c5e427 (patch) | |
tree | 36f10b2c9e8fcd93f877f3dc1bee429aca39ad93 /usr | |
parent | 4cfd23901d1da439a8373e90142ec175c03d7dab (diff) | |
download | pfsense-5203443215689fcec7fae36fcd41698504c5e427.zip pfsense-5203443215689fcec7fae36fcd41698504c5e427.tar.gz |
Make sure captiveportal section of config is an array, reported on ticket #2838
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_rrd_graph.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/status_rrd_graph.php b/usr/local/www/status_rrd_graph.php index bfee28f..2cf22de 100755 --- a/usr/local/www/status_rrd_graph.php +++ b/usr/local/www/status_rrd_graph.php @@ -250,7 +250,7 @@ $pgtitle = array(gettext("Status"),gettext("RRD Graphs")); $closehead = false; /* Load all CP zones */ -if ($captiveportal) { +if ($captiveportal && is_array($config['captiveportal'])) { $cp_zones_tab_array = array(); foreach($config['captiveportal'] as $cpkey => $cp) { if (!isset($cp['enable'])) |