From 3339c56f9558cf564ce7a2ebbeacaf7adc8482c4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 4 Nov 2010 10:39:17 -0400 Subject: [PATCH] Use a different variable name here to avoid colliding with another of the same name. --- usr/local/www/vpn_ipsec_keys_edit.php | 4 ++-- 1 file 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 41908ca4e1..020ca27db3 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);