Fixing a bug where purchasing a subscription while while being vistor resulted in two subscriptions being added.
This commit is contained in:
parent
a2e347e7af
commit
e8a5ce6991
1 changed files with 1 additions and 1 deletions
|
|
@ -387,7 +387,7 @@ sub www_listSubscriptions {
|
|||
sub www_purchaseSubscription {
|
||||
WebGUI::Commerce::ShoppingCart->new->add($session{form}{sid}, 'Subscription');
|
||||
|
||||
return WebGUI::Operation::execute('checkout');
|
||||
return WebGUI::HTTP::setRedirect(WebGUI::URL::page('op=checkout'));
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue