Bug 12287: At the moment, found is 'W', 'T' or NULL
authorJonathan Druart <jonathan.druart@biblibre.com>
Mon, 21 Jul 2014 08:04:06 +0000 (10:04 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 16 Aug 2014 12:06:51 +0000 (09:06 -0300)
Just add a small comment to avoid any further ambiguity.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
reserve/request.pl

index 0839f45..14340c2 100755 (executable)
@@ -208,7 +208,7 @@ foreach my $biblionumber (@biblionumbers) {
     my $alreadyreserved = 0;
 
     foreach my $res (@$reserves) {
-        if ( defined $res->{found} ) {
+        if ( defined $res->{found} ) { # found can be 'W' or 'T'
             $count--;
         }