aboutsummaryrefslogtreecommitdiffstats
path: root/config/Fit123/bin/cpaddon
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-10-05 10:41:41 -0400
committerjim-p <jimp@pfsense.org>2010-10-05 10:41:41 -0400
commit909cd8f9e660122fcaf15b737a5215ef77c2a30e (patch)
tree470636cd754dd0705e6540c29fce1f580ddd91eb /config/Fit123/bin/cpaddon
parentff70e1222e0933a75fd5de1e92cd5fdb0ddca995 (diff)
downloadpfsense-packages-909cd8f9e660122fcaf15b737a5215ef77c2a30e.tar.gz
pfsense-packages-909cd8f9e660122fcaf15b737a5215ef77c2a30e.tar.bz2
pfsense-packages-909cd8f9e660122fcaf15b737a5215ef77c2a30e.zip
References aren't needed if you aren't modifying the new variable. Remove &.
Diffstat (limited to 'config/Fit123/bin/cpaddon')
-rwxr-xr-xconfig/Fit123/bin/cpaddon/services_captiveportal.abc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/Fit123/bin/cpaddon/services_captiveportal.abc b/config/Fit123/bin/cpaddon/services_captiveportal.abc
index 42f8631f..bafb27a7 100755
--- a/config/Fit123/bin/cpaddon/services_captiveportal.abc
+++ b/config/Fit123/bin/cpaddon/services_captiveportal.abc
@@ -93,7 +93,7 @@ if ($_POST) {
/* make sure no interfaces are bridged */
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++) {
- $coptif = &$config['interfaces']['opt' . $i];
+ $coptif = $config['interfaces']['opt' . $i];
if (isset($coptif['enable']) && $coptif['bridge'] == $pconfig['cinterface']) {
$input_errors[] = "The captive portal cannot be used when one or more interfaces are bridged.";
break;