Skip to content

Commit c534f1d

Browse files
kareilamomijizukamori
authored andcommitted
[#3358] don't show checkout buttons when viewing receipt
1 parent 0cc1ae4 commit c534f1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cgi-bin/LJ/Widget/ShopCart.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ sub render_body {
9393
$vars->{is_random} = sub { return ref $_ =~ /Account/ && $_->random ? 'Y' : 'N'; };
9494

9595
my $checkout_ready =
96-
!$opts{receipt} || ( !$opts{confirm} && $cart->state == $DW::Shop::STATE_CHECKOUT );
96+
!$receipt || ( !$opts{confirm} && $cart->state == $DW::Shop::STATE_CHECKOUT );
9797
if ($checkout_ready) {
9898

9999
# check or money order button

0 commit comments

Comments
 (0)