projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add profiling to a file OOM situations, RT#4830
[freeside.git]
/
httemplate
/
pref
/
pref-process.html
diff --git
a/httemplate/pref/pref-process.html
b/httemplate/pref/pref-process.html
index
3f9b706
..
9661516
100644
(file)
--- a/
httemplate/pref/pref-process.html
+++ b/
httemplate/pref/pref-process.html
@@
-27,10
+27,13
@@
%
% }
%
%
% }
%
+% my %param = $access_user->options;
+%
% #XXX autogen
% my @paramlist = qw( menu_position
% email_address
% vonage-fromnumber vonage-username vonage-password
% #XXX autogen
% my @paramlist = qw( menu_position
% email_address
% vonage-fromnumber vonage-username vonage-password
+% show_pkgnum show_db_profile save_db_profile
% height width availHeight availWidth colorDepth
% );
%
% height width availHeight availWidth colorDepth
% );
%
@@
-40,9
+43,11
@@
% last;
% }
%
% 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);
%
% if ( $error ) {
% $cgi->param('error', $error);