diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-09-15 17:42:09 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-09-15 17:42:09 +0000 |
commit | 2e814e0d6935452d0bcc5246336705db5222dcbe (patch) | |
tree | 04197c1119664b7c97bbe2a25cc34a6bcf62d602 /usr | |
parent | 24461604268e49d9bae26efb73d1952dd9ad685d (diff) | |
download | pfsense-2e814e0d6935452d0bcc5246336705db5222dcbe.zip pfsense-2e814e0d6935452d0bcc5246336705db5222dcbe.tar.gz |
Fix empty wep array
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/interfaces.php | 2 |
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'])) |