Fix a syntax warning with multiple i18n objects in PP::ExpressCheckout
This commit is contained in:
parent
00ea5c4df8
commit
21bcd70980
1 changed files with 1 additions and 2 deletions
|
|
@ -270,7 +270,7 @@ sub www_sendToPayPal {
|
|||
my $url = $session->url;
|
||||
my $base = $url->getSiteURL . $url->page;
|
||||
|
||||
my $i18n = WebGUI::International->new($self->session);
|
||||
my $i18n = WebGUI::International->new( $self->session, $I18N );
|
||||
my $returnUrl = URI->new($base);
|
||||
$returnUrl->query_form( {
|
||||
shop => 'pay',
|
||||
|
|
@ -296,7 +296,6 @@ sub www_sendToPayPal {
|
|||
my $testMode = $self->get('testMode');
|
||||
my $response = LWP::UserAgent->new->post( $self->apiUrl, $form );
|
||||
my $params = $self->responseHash($response);
|
||||
my $i18n = WebGUI::International->new( $self->session, $I18N );
|
||||
my $error;
|
||||
|
||||
if ($params) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue