bug 1953: use bind variables in C4::Acquisition::GetPendingOrders
authorAndrew Moore <andrew.moore@liblime.com>
Wed, 19 Mar 2008 20:26:35 +0000 (15:26 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Wed, 19 Mar 2008 20:46:24 +0000 (15:46 -0500)
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Acquisition.pm

index 6e5651b..2b2f001 100644 (file)
@@ -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};