[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/opac opac-reserve.pl
From: |
Henri-Damien LAURENT |
Subject: |
[Koha-cvs] koha/opac opac-reserve.pl |
Date: |
Thu, 12 Jul 2007 12:54:18 +0000 |
CVSROOT: /cvsroot/koha
Module name: koha
Changes by: Henri-Damien LAURENT <hdl> 07/07/12 12:54:18
Modified files:
opac : opac-reserve.pl
Log message:
Bug Fixing :
- GetReservesFromBiblionumber returns an array !!
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/opac/opac-reserve.pl?cvsroot=koha&r1=1.36&r2=1.37
Patches:
Index: opac-reserve.pl
===================================================================
RCS file: /cvsroot/koha/koha/opac/opac-reserve.pl,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- opac-reserve.pl 6 Jul 2007 15:16:40 -0000 1.36
+++ opac-reserve.pl 12 Jul 2007 12:54:17 -0000 1.37
@@ -296,12 +296,12 @@
debarred => 1
);
}
- my $reserves = GetReservesFromBorrowernumber( $borrowernumber );
- $template->param( RESERVES => $reserves );
+ my @reserves = GetReservesFromBorrowernumber( $borrowernumber );
+ $template->param( RESERVES => address@hidden );
if ( scalar(@$reserves) >= $MAXIMUM_NUMBER_OF_RESERVES ) {
$template->param( message => 1 );
$noreserves = 1;
- $template->param( too_many_reserves => scalar(@$reserves));
+ $template->param( too_many_reserves => scalar($reserves));
}
foreach my $res (@$reserves) {
if ( $res->{'biblionumber'} == $biblionumber ) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] koha/opac opac-reserve.pl,
Henri-Damien LAURENT <=