diff options
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/OE.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/OE.pm b/LedgerSMB/OE.pm index f6a1f6be..fddd0fd2 100755 --- a/LedgerSMB/OE.pm +++ b/LedgerSMB/OE.pm @@ -178,7 +178,7 @@ sub transactions { $form->{closed} = 1; } if ( $form->{ponumber} ne "" ) { - $query .= " AND lower(ponumber) LIKE ?"; + $query .= " AND lower(ponumber) LIKE '%' || lower(?) || '%'"; push @queryargs, $form->{ponumber}; } |