summaryrefslogtreecommitdiff
path: root/httemplate/pref/pref-process.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/pref/pref-process.html')
-rw-r--r--httemplate/pref/pref-process.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html
index 6b94f7175..242e12294 100644
--- a/httemplate/pref/pref-process.html
+++ b/httemplate/pref/pref-process.html
@@ -20,7 +20,8 @@ if ( grep { $cgi->param($_) !~ /^\s*$/ }
) {
$access_user = qsearchs( 'access_user', {
- 'username' => getotaker,
+ 'usernum' => $FS::CurrentUser::CurrentUser->usernum,
+ 'username' => $FS::CurrentUser::CurrentUser->username,
'_password' => scalar($cgi->param('_password')),
} );