From 9324f8683ab3ee31039d614878553684956878aa Mon Sep 17 00:00:00 2001 From: slef Date: Tue, 1 Mar 2005 03:08:00 +0000 Subject: [PATCH] Small quoting fix to let fine calculation work. --- C4/Circulation/Fines.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/C4/Circulation/Fines.pm b/C4/Circulation/Fines.pm index 347612bdcf..4ac2279207 100644 --- a/C4/Circulation/Fines.pm +++ b/C4/Circulation/Fines.pm @@ -151,7 +151,8 @@ sub CalcFine { and items.biblioitemnumber=biblioitems.biblioitemnumber and biblioitems.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; $sth->execute($itemnumber,$bortype); my $data=$sth->fetchrow_hashref; -- 2.39.5