Committer: ailyin
LJSV-1228 (Shop history page fails to load for people with large numbers of orders): do not check items here eitherU trunk/cgi-bin/LJ/Widget/Shop/History.pm
Modified: trunk/cgi-bin/LJ/Widget/Shop/History.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/Shop/History.pm 2010-11-12 06:34:56 UTC (rev 9699) +++ trunk/cgi-bin/LJ/Widget/Shop/History.pm 2010-11-13 05:01:00 UTC (rev 9700) @@ -31,7 +31,7 @@ my $status; if ($cart->can_modify) { $status = 'open'; } - elsif ($cart->can_checkout) { $status = 'locked'; } + elsif ($cart->get_used eq 'C') { $status = 'locked'; } else { $status = 'paid'; } my $status_string = LJ::Lang::ml("shop.history.status.$status");