Browse Source

Small quoting fix to let fine calculation work.

3.0.x
slef 19 years ago
parent
commit
9324f8683a
  1. 3
      C4/Circulation/Fines.pm

3
C4/Circulation/Fines.pm

@ -151,7 +151,8 @@ sub CalcFine {
and items.biblioitemnumber=biblioitems.biblioitemnumber and and items.biblioitemnumber=biblioitems.biblioitemnumber and
biblioitems.itemtype=itemtypes.itemtype and biblioitems.itemtype=itemtypes.itemtype and
categoryitem.itemtype=itemtypes.itemtype and categoryitem.itemtype=itemtypes.itemtype and
categoryitem.categorycode='?' and (items.itemlost <> 1 or items.itemlost is NULL)"); categoryitem.categorycode=? and
(items.itemlost <> 1 or items.itemlost is NULL)");
# print $query; # print $query;
$sth->execute($itemnumber,$bortype); $sth->execute($itemnumber,$bortype);
my $data=$sth->fetchrow_hashref; my $data=$sth->fetchrow_hashref;

Loading…
Cancel
Save