From 761656570bbcdcccb83fdb668c2670981fbca57a Mon Sep 17 00:00:00 2001 From: Andrew Moore Date: Wed, 19 Mar 2008 15:26:35 -0500 Subject: [PATCH] bug 1953: use bind variables in C4::Acquisition::GetPendingOrders Signed-off-by: Galen Charlton Signed-off-by: Joshua Ferraro --- C4/Acquisition.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Acquisition.pm b/C4/Acquisition.pm index 6e5651b1aa..2b2f001986 100644 --- a/C4/Acquisition.pm +++ b/C4/Acquisition.pm @@ -224,7 +224,6 @@ sub GetPendingOrders { if ( C4::Context->preference("IndependantBranches") ) { my $userenv = C4::Context->userenv; if ( ($userenv) && ( $userenv->{flags} != 1 ) ) { - warn 'in branch'; $strsth .= " and (borrowers.branchcode = ? or borrowers.branchcode = '')"; push @query_params, $userenv->{branch};