summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec_keys_edit.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-11-04 10:39:17 -0400
committerjim-p <jimp@pfsense.org>2010-11-04 10:39:17 -0400
commit3339c56f9558cf564ce7a2ebbeacaf7adc8482c4 (patch)
tree6886edd5261f9194a2ca9608c563c9def4df0649 /usr/local/www/vpn_ipsec_keys_edit.php
parent9ad0ab808528f09e8a9759669fc06204919e09c5 (diff)
downloadpfsense-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/www/vpn_ipsec_keys_edit.php')
-rw-r--r--usr/local/www/vpn_ipsec_keys_edit.php4
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);
OpenPOWER on IntegriCloud