sub locale {
my $self = shift;
return $self->{_locale} if exists($self->{_locale});
-warn "access_user->locale called\n";
$self->{_locale} = $self->option('locale');
}
# }
FS::access_user_log->insert_new_path( $r->filename, time-$start_time );
-\
+
FS::Trace->log('done');
FS::Trace->dumpfile( "%%%FREESIDE_EXPORT%%%/profile/$$.".time,
% my $part_pkg = $_->part_pkg;
%
% my $pkg_comment = $part_pkg->pkg_comment( cust_pkg=>$_, nopkgpart=>1 );
-% my $show = $curuser->default_customer_view =~ /^(jumbo|packages)$/
+% my $show = $default_customer_view =~ /^(jumbo|packages)$/
% ? ''
% : ';show=packages';
% my $frag = "cust_pkg$pkgnum"; #hack for IE ignoring real #fragment
# summarize more than this many services of the same svcpart
my $large_pkg_size = $conf->config('cust_pkg-large_pkg_size') || 0;
+my $default_customer_view = $curuser->default_customer_view;
+
my $limit = '';
$limit .= "LIMIT $maxrecords" if $maxrecords;