From 4f1a824fa26aa42328ba80f03d5e7641f7f613ba Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Thu, 3 Sep 2015 13:18:42 -0400 Subject: [PATCH] Bug 11622 [QA Followup] --- C4/Installer/PerlDependencies.pm | 5 +++++ .../opac-tmpl/bootstrap/en/modules/opac-account-pay-return.tt | 2 +- opac/opac-account-pay-paypal-return.pl | 1 - opac/opac-account-pay.pl | 1 - 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm index f7a1bd9..aaac261 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -767,6 +767,11 @@ our $PERL_DEPS = { 'required' => '0', 'min_ver' => '0.614', }, + 'URL::Encode' => { + 'usage' => 'PayPal', + 'required' => '0', + 'min_ver' => '0.03', + }, }; 1; diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account-pay-return.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account-pay-return.tt index 35422c7..03b9093 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account-pay-return.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account-pay-return.tt @@ -34,7 +34,7 @@

Please contact the library to verify your payment.

[% END %] - [% ELSIF credit %] + [% ELSIF amount %]

Payment applied: your payment of [% amount %] has been applied to your account

diff --git a/opac/opac-account-pay-paypal-return.pl b/opac/opac-account-pay-paypal-return.pl index b7940e1..5ed3913 100755 --- a/opac/opac-account-pay-paypal-return.pl +++ b/opac/opac-account-pay-paypal-return.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "opac", authnotrequired => 0, - flagsrequired => { borrow => 1 }, debug => 1, } ); diff --git a/opac/opac-account-pay.pl b/opac/opac-account-pay.pl index ca77c68..5260309 100755 --- a/opac/opac-account-pay.pl +++ b/opac/opac-account-pay.pl @@ -45,7 +45,6 @@ my ( $template, $borrowernumber, $cookie ) = get_template_and_user( query => $cgi, type => "opac", authnotrequired => 0, - flagsrequired => { borrow => 1 }, debug => 1, } ); -- 1.7.10.4