minor bugfixing for reservations
authoralaurin <alaurin>
Fri, 11 May 2007 16:22:03 +0000 (16:22 +0000)
committeralaurin <alaurin>
Fri, 11 May 2007 16:22:03 +0000 (16:22 +0000)
koha-tmpl/intranet-tmpl/prog/en/reserve/request.tmpl
opac/opac-reserve.pl

index 335cced..3d20a94 100644 (file)
@@ -100,7 +100,7 @@ if (alreadyreserved > "0"){
     <br>
     <p class="problem">
       <label><u>Too many reserves</u></label>
-      Currently, this member has <!-- TMPL_VAR NAME="borrowerreservs" --> active reserves.
+      Currently, this member has too much active reserves.
     </p>
     <!-- /TMPL_IF -->
 
index 3f5d9d7..31e209d 100755 (executable)
@@ -26,6 +26,7 @@ use C4::Reserves;
 use C4::Output;
 use C4::Date;
 use C4::Context;
+use C4::Members;
 use C4::Branch; # GetBranches
 
 my $MAXIMUM_NUMBER_OF_RESERVES = C4::Context->preference("maxreserves");