diff options
author | jim-p <jimp@pfsense.org> | 2010-11-04 10:39:17 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-11-04 10:39:17 -0400 |
commit | 3339c56f9558cf564ce7a2ebbeacaf7adc8482c4 (patch) | |
tree | 6886edd5261f9194a2ca9608c563c9def4df0649 /usr/local | |
parent | 9ad0ab808528f09e8a9759669fc06204919e09c5 (diff) | |
download | pfsense-3339c56f9558cf564ce7a2ebbeacaf7adc8482c4.zip pfsense-3339c56f9558cf564ce7a2ebbeacaf7adc8482c4.tar.gz |
Use a different variable name here to avoid colliding with another of the same name.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/vpn_ipsec_keys_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec_keys_edit.php b/usr/local/www/vpn_ipsec_keys_edit.php index 41908ca..020ca27 100644 --- a/usr/local/www/vpn_ipsec_keys_edit.php +++ b/usr/local/www/vpn_ipsec_keys_edit.php @@ -57,8 +57,8 @@ if (isset($id) && $a_secret[$id]) { if ($_POST) { $userids = array(); - foreach ($config['system']['user'] as $id => $user) { - $userids[$user['name']] = $id; + foreach ($config['system']['user'] as $uid => $user) { + $userids[$user['name']] = $uid; } unset($input_errors); |