projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 20495: Remove get_saved_report
[koha.git]
/
opac
/
opac-account-pay-paypal-return.pl
diff --git
a/opac/opac-account-pay-paypal-return.pl
b/opac/opac-account-pay-paypal-return.pl
index
eb870cc
..
64292d4
100755
(executable)
--- a/
opac/opac-account-pay-paypal-return.pl
+++ b/
opac/opac-account-pay-paypal-return.pl
@@
-29,9
+29,9
@@
use URI;
use C4::Auth;
use C4::Output;
use C4::Accounts;
use C4::Auth;
use C4::Output;
use C4::Accounts;
-use C4::Members;
use Koha::Acquisition::Currencies;
use Koha::Database;
use Koha::Acquisition::Currencies;
use Koha::Database;
+use Koha::Patrons;
my $cgi = new CGI;
my $cgi = new CGI;
@@
-117,8
+117,9
@@
else {
$error = "PAYPAL_UNABLE_TO_CONNECT";
}
$error = "PAYPAL_UNABLE_TO_CONNECT";
}
+my $patron = Koha::Patrons->find( $borrowernumber );
$template->param(
$template->param(
- borrower =>
GetMember( borrowernumber => $borrowernumber )
,
+ borrower =>
$patron->unblessed
,
accountview => 1
);
accountview => 1
);