From 909cd8f9e660122fcaf15b737a5215ef77c2a30e Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 5 Oct 2010 10:41:41 -0400 Subject: References aren't needed if you aren't modifying the new variable. Remove &. --- config/Fit123/bin/cpaddon/services_captiveportal.abc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/Fit123') 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; -- cgit v1.2.3