projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea110a
)
Fix for a bug in reserves, if a charge was incurred we got a server error, and it...
author
Chris Cormack
<crc@liblime.com>
Mon, 29 Oct 2007 18:20:00 +0000
(13:20 -0500)
committer
Joshua Ferraro
<jmf@liblime.com>
Mon, 29 Oct 2007 21:11:38 +0000
(16:11 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
opac/opac-reserve.pl
patch
|
blob
|
history
diff --git
a/opac/opac-reserve.pl
b/opac/opac-reserve.pl
index
5d975e5
..
7047265
100755
(executable)
--- a/
opac/opac-reserve.pl
+++ b/
opac/opac-reserve.pl
@@
-28,6
+28,7
@@
use C4::Date;
use C4::Context;
use C4::Members;
use C4::Branch; # GetBranches
+use Data::Dumper;
my $MAXIMUM_NUMBER_OF_RESERVES = C4::Context->preference("maxreserves");
@@
-145,6
+146,7
@@
$template->param( itemcount => $itemcount );
my %types;
my %itemtypes;
my @duedates;
+#die @items;
foreach my $itm (@items) {
push @duedates, { date_due => format_date( $itm->{'date_due'} ) }
if defined $itm->{'date_due'};