From 2722406270c35c185536bb6545450fe71af6a502 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] Signed-off-by: Jonathan Druart --- C4/Installer/PerlDependencies.pm | 5 +++++ koha-tmpl/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 c1d03c7..778e101 100644 --- a/C4/Installer/PerlDependencies.pm +++ b/C4/Installer/PerlDependencies.pm @@ -782,6 +782,11 @@ our $PERL_DEPS = { 'required' => '1', 'min_ver' => '1.10', }, + '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, } ); -- 2.1.4