summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2015-11-09 11:35:07 -0500
committerjim-p <jimp@pfsense.org>2015-11-09 11:35:07 -0500
commitaecaf62f1245fa6499368f4036bdacddb20355b0 (patch)
treef7fa6b28ac3a9be2c1d2adb1add4bc8847757c69 /src
parent0c642a58239aaa10b9755ea581702c5d35b7eda6 (diff)
downloadpfsense-aecaf62f1245fa6499368f4036bdacddb20355b0.zip
pfsense-aecaf62f1245fa6499368f4036bdacddb20355b0.tar.gz
Fix syntax error in src/usr/local/www/services_captiveportal_mac.php
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_captiveportal_mac.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/services_captiveportal_mac.php b/src/usr/local/www/services_captiveportal_mac.php
index 1715ee1..8381121 100644
--- a/src/usr/local/www/services_captiveportal_mac.php
+++ b/src/usr/local/www/services_captiveportal_mac.php
@@ -1,4 +1,4 @@
-<?php
+ <?php
/*
services_captiveportal_mac.php
*/
@@ -84,6 +84,7 @@ if (isset($_POST['zone'])) {
if (empty($cpzone) || empty($config['captiveportal'][$cpzone])) {
header("Location: services_captiveportal_zones.php");
exit;
+}
if (!is_array($config['captiveportal'])) {
$config['captiveportal'] = array();
OpenPOWER on IntegriCloud