fix: content handler and redirects

This commit is contained in:
JT Smith 2008-01-25 01:36:14 +00:00
parent c776703568
commit fb434a8b3a
26 changed files with 74 additions and 542 deletions

View file

@ -604,8 +604,8 @@ The current WebGUI session object.
sub www_purchaseSubscription {
my $session = shift;
WebGUI::Commerce::ShoppingCart->new($session)->add($session->form->process("sid"), 'Subscription');
return $session->http->setRedirect($session->url->page('op=checkout'));
$session->http->setRedirect($session->url->page('op=checkout'));
return undef;
}
=head2 www_redeemSubscriptionCode ( $session )