[Koha-patches] [PATCH 01/12] MT3440: Display only borrower's messages in borrower's profile
Henri-Damien LAURENT
henridamien.laurent at biblibre.com
Sat May 1 00:19:43 CEST 2010
From: Matthias Meusburger <matthias.meusburger at biblibre.com>
---
members/notices.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/members/notices.pl b/members/notices.pl
index dea577e..fb8e91b 100755
--- a/members/notices.pl
+++ b/members/notices.pl
@@ -50,7 +50,7 @@ my ($picture, $dberror) = GetPatronImage($borrower->{'cardnumber'});
$template->param( picture => 1 ) if $picture;
# Getting the messages
-my $queued_messages = C4::Letters::GetQueuedMessages({$borrowernumber});
+my $queued_messages = C4::Letters::GetQueuedMessages({borrowernumber => $borrowernumber});
warn Data::Dumper::Dumper( $queued_messages );
$template->param(
--
1.6.3.3
More information about the Koha-patches
mailing list