From d8d27ab898d77155210c715f11496711df638a4f Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 13 Nov 2007 17:59:20 -0600 Subject: [PATCH] Missing AND in the SQL in pendingreserves.pl only if independentbranches was turned on Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- circ/pendingreserves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/pendingreserves.pl b/circ/pendingreserves.pl index c2dd6a038b..99674da28e 100755 --- a/circ/pendingreserves.pl +++ b/circ/pendingreserves.pl @@ -103,7 +103,7 @@ my $strsth = AND reserves.found is NULL "; if (C4::Context->preference('IndependantBranches')){ - $strsth .= " items.holdingbranch=? "; + $strsth .= " AND items.holdingbranch=? "; } $strsth .= $sqlorderby; my $sth = $dbh->prepare($strsth); -- 2.39.2