diff options
author | ivan <ivan> | 2007-08-01 22:26:52 +0000 |
---|---|---|
committer | ivan <ivan> | 2007-08-01 22:26:52 +0000 |
commit | eb4ff7f73c5d4bdf74a3472448b5a195598ff4cd (patch) | |
tree | bb38241e8c865c3bca861da7749071feeadd2b5b /httemplate/pref | |
parent | 32b5d3a31f112a381f0a15ac5e3a2204242f3405 (diff) |
event refactor, landing on HEAD!
Diffstat (limited to 'httemplate/pref')
-rw-r--r-- | httemplate/pref/pref-process.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/httemplate/pref/pref-process.html b/httemplate/pref/pref-process.html index 3f9b70686..25f30e9a9 100644 --- a/httemplate/pref/pref-process.html +++ b/httemplate/pref/pref-process.html @@ -27,6 +27,8 @@ % % } % +% my %param = $access_user->options; +% % #XXX autogen % my @paramlist = qw( menu_position % email_address @@ -40,9 +42,11 @@ % last; % } % -% $error ||= $access_user->replace( { -% map { $_ => scalar($cgi->param($_)) } @paramlist, -% } ); +% foreach (@paramlist) { +% $param{$_} = scalar($cgi->param($_)); +% } +% +% $error ||= $access_user->replace( \%param ); % % if ( $error ) { % $cgi->param('error', $error); |