projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bug 18789: Send Koha::Patron object to the templates
[koha.git]
/
reviews
/
reviewswaiting.pl
diff --git
a/reviews/reviewswaiting.pl
b/reviews/reviewswaiting.pl
index
783748a
..
6dc51f1
100755
(executable)
--- a/
reviews/reviewswaiting.pl
+++ b/
reviews/reviewswaiting.pl
@@
-75,8
+75,7
@@
for my $review ( @$reviews ) {
my $borrowernumber = $review->{borrowernumber};
my $patron = Koha::Patrons->find( $borrowernumber);
if ( $patron ) {
- $review->{surname} = $patron->surname;
- $review->{firstname} = $patron->firstname;
+ $review->{patron} = $patron;
}
}