oodles of fixes.
This commit is contained in:
parent
029dca1f2e
commit
65823b1f53
38 changed files with 87 additions and 84 deletions
|
|
@ -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 '';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue