summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2008-09-15 17:42:09 +0000
committerSeth Mos <seth.mos@xs4all.nl>2008-09-15 17:42:09 +0000
commit2e814e0d6935452d0bcc5246336705db5222dcbe (patch)
tree04197c1119664b7c97bbe2a25cc34a6bcf62d602 /usr
parent24461604268e49d9bae26efb73d1952dd9ad685d (diff)
downloadpfsense-2e814e0d6935452d0bcc5246336705db5222dcbe.zip
pfsense-2e814e0d6935452d0bcc5246336705db5222dcbe.tar.gz
Fix empty wep array
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 4667c60..989ae96 100755
--- a/usr/local/www/interfaces.php
+++ b/usr/local/www/interfaces.php
@@ -664,7 +664,7 @@ n already exists.";
$wancfg['wireless']['wep'] = array();
$wancfg['wireless']['wep']['enable'] = $_POST['wep_enable'] = true;
} else
- unset($wancfg['wireless']['wep']['enable']);
+ unset($wancfg['wireless']['wep']);
if ($_POST['wme_enable'] == "yes") {
if (!is_array($wancfg['wireless']['wme']))
OpenPOWER on IntegriCloud