From b1ddbb8229e1565c7ea08a2b6baa8ee71cd9524f 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] [SIGNED-OFF] 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 615bea5..6a2543c 100644 --- a/C4/Reserves.pm +++ b/C4/Reserves.pm @@ -2624,17 +2624,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