diff options
author | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-10 19:26:08 -0700 |
---|---|---|
committer | Erik Fonnesbeck <efonnes@gmail.com> | 2010-03-10 19:31:56 -0700 |
commit | 0e3aa71cd00836a3621ca68cb7e060b0d07e1327 (patch) | |
tree | 7651ebd517f34634dbfff6a25c2886792e9f2204 /usr/local/www/vpn_pppoe_users_edit.php | |
parent | eb20f3c51e41cb65885589bbb229860ed069f78f (diff) | |
download | pfsense-0e3aa71cd00836a3621ca68cb7e060b0d07e1327.zip pfsense-0e3aa71cd00836a3621ca68cb7e060b0d07e1327.tar.gz |
Fix sorting issues that were introduced in an old commit, resulting in the incorrect item sometimes being shown when clicking edit buttons.
Diffstat (limited to 'usr/local/www/vpn_pppoe_users_edit.php')
-rwxr-xr-x | usr/local/www/vpn_pppoe_users_edit.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/local/www/vpn_pppoe_users_edit.php b/usr/local/www/vpn_pppoe_users_edit.php index 2b884ab..4450c56 100755 --- a/usr/local/www/vpn_pppoe_users_edit.php +++ b/usr/local/www/vpn_pppoe_users_edit.php @@ -54,7 +54,6 @@ require_once("vpn.inc"); if (!is_array($config['pppoe']['user'])) { $config['pppoe']['user'] = array(); } -pppoe_users_sort(); $a_secret = &$config['pppoe']['user']; $id = $_GET['id']; @@ -116,11 +115,11 @@ if ($_POST) { if ($_POST['password']) $secretent['password'] = $_POST['password']; - pppoe_users_sort(); if (isset($id) && $a_secret[$id]) $a_secret[$id] = $secretent; else $a_secret[] = $secretent; + pppoe_users_sort(); write_config(); |