From 2949733e67a7554340ca63f580dba962ed4cec32 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 Signed-off-by: Kyle M Hall --- C4/Installer/PerlDependencies.pm | 5 +++++ .../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 c1d03c710f..778e101970 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 35422c753e..03b9093bf9 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 b7940e13dc..5ed3913d47 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 ca77c68e5a..5260309793 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.39.5