summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_rrd_graph.php2
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']))
OpenPOWER on IntegriCloud