[Koha-cvs] CVS: koha/C4/Circulation Circ2.pm,1.65,1.65.2.1
Paul POULAIN
tipaul at users.sourceforge.net
Fri Dec 19 15:44:22 CET 2003
Update of /cvsroot/koha/koha/C4/Circulation
In directory sc8-pr-cvs1:/tmp/cvs-serv23830/C4/Circulation
Modified Files:
Tag: rel_2_0
Circ2.pm
Log Message:
fix for 318
Index: Circ2.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Circulation/Circ2.pm,v
retrieving revision 1.65
retrieving revision 1.65.2.1
diff -C2 -r1.65 -r1.65.2.1
*** Circ2.pm 11 Dec 2003 12:56:34 -0000 1.65
--- Circ2.pm 19 Dec 2003 14:44:20 -0000 1.65.2.1
***************
*** 296,300 ****
my $itemtype=$sth->fetchrow_hashref;
$iteminformation->{'loanlength'}=$itemtype->{'loanlength'};
! $iteminformation->{'notforloan'}=$itemtype->{'notforloan'};
$sth->finish;
}
--- 296,302 ----
my $itemtype=$sth->fetchrow_hashref;
$iteminformation->{'loanlength'}=$itemtype->{'loanlength'};
! # if specific item notforloan, don't use itemtype notforloan field.
! # otherwise, use itemtype notforloan value to see if item can be issued.
! $iteminformation->{'notforloan'}=$itemtype->{'notforloan'} unless $iteminformation->{'notforloan'};
$sth->finish;
}
More information about the Koha-cvs
mailing list