bug 1953: use bind variables in C4::Acquisition::GetPendingOrders
Signed-off-by: Galen Charlton <galen.charlton@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
a5325c4fcc
commit
761656570b
1 changed files with 0 additions and 1 deletions
|
@ -224,7 +224,6 @@ sub GetPendingOrders {
|
||||||
if ( C4::Context->preference("IndependantBranches") ) {
|
if ( C4::Context->preference("IndependantBranches") ) {
|
||||||
my $userenv = C4::Context->userenv;
|
my $userenv = C4::Context->userenv;
|
||||||
if ( ($userenv) && ( $userenv->{flags} != 1 ) ) {
|
if ( ($userenv) && ( $userenv->{flags} != 1 ) ) {
|
||||||
warn 'in branch';
|
|
||||||
$strsth .= " and (borrowers.branchcode = ?
|
$strsth .= " and (borrowers.branchcode = ?
|
||||||
or borrowers.branchcode = '')";
|
or borrowers.branchcode = '')";
|
||||||
push @query_params, $userenv->{branch};
|
push @query_params, $userenv->{branch};
|
||||||
|
|
Loading…
Reference in a new issue