From 90d0c8584ffb72788a5a431f922197e7344c5813 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Radek=20=C5=A0iman?= Date: Thu, 3 Nov 2016 04:53:20 +0100 Subject: [PATCH] Bug 17509: Fixed invalid patterns Signed-off-by: Josef Moravec --- C4/Reserves.pm | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/C4/Reserves.pm b/C4/Reserves.pm index b6a1ffb..72eb0a9 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -2216,17 +2216,17 @@ sub GetBorrowersToSatisfyHold { if ($library eq 'RequestorLibrary') { $query .= " AND borrowers.branchcode = ?"; - $sth = $dbh->prepare( $query ); - $sth->execute( $hold->id(), $hold->borrower()->branchcode ); + $sth = $dbh->prepare( $query ); + $sth->execute( $hold->id(), $hold->borrower()->branchcode ); } elsif ($library eq 'ItemHomeLibrary') { $query .= " AND items.homebranch = ?"; - $sth = $dbh->prepare( $query ); - $sth->execute( $hold->id(), $hold->borrower()->branchcode ); + $sth = $dbh->prepare( $query ); + $sth->execute( $hold->id(), $hold->borrower()->branchcode ); } else { - $sth = $dbh->prepare( $query ); - $sth->execute( $hold->id() ); + $sth = $dbh->prepare( $query ); + $sth->execute( $hold->id() ); } my @results = (); -- 2.1.4