oodles of fixes.

This commit is contained in:
Matthew Wilson 2006-01-15 15:56:17 +00:00
parent 029dca1f2e
commit 65823b1f53
38 changed files with 87 additions and 84 deletions

View file

@ -223,7 +223,7 @@ sub www_checkoutSubmit {
# Check if shoppingcart contains any items. If not the user probably clicked reload, so we redirect to the current page.
unless (@$normal || @$recurring) {
WebGUI::HTTP::setRedirect($session->url->page);
$session->http->setRedirect($session->url->page);
return '';
}

View file

@ -201,7 +201,7 @@ sub www_editLDAPLinkSave {
$properties->{ldapLoginTemplate} = $session->form->template("ldapLoginTemplate");
$session->db->setRow("ldapLink","ldapLinkId",$properties);
if($session->form->process("returnUrl")) {
WebGUI::HTTP::setRedirect($session->form->process("returnUrl"));
$session->http->setRedirect($session->form->process("returnUrl"));
}
return www_listLDAPLinks();
}

View file

@ -417,7 +417,7 @@ sub www_purchaseSubscription {
my $session = shift;
WebGUI::Commerce::ShoppingCart->new($session)->add($session->form->process("sid"), 'Subscription');
return WebGUI::HTTP::setRedirect($session->url->page('op=checkout'));
return $session->http->setRedirect($session->url->page('op=checkout'));
}
#-------------------------------------------------------------------