add profiling to a file OOM situations, RT#4830
[freeside.git] / httemplate / pref / pref-process.html
index 3f9b706..9661516 100644 (file)
 %
 % }
 %
+% my %param = $access_user->options;
+%
 % #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
 %                   );
 %
 %   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);