X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d814a525b9f2fbc0bfae5591201d9185d6b1e8f4..bed19453fb654f69ad972911a4533ca89f8ae0c9:/SL/AR.pm diff --git a/SL/AR.pm b/SL/AR.pm index a2cad1196..dba6b5b80 100644 --- a/SL/AR.pm +++ b/SL/AR.pm @@ -507,7 +507,7 @@ sub ar_transactions { push(@values, $form->{customer_id}); } elsif ($form->{customer}) { $where .= " AND c.name ILIKE ?"; - push(@values, $form->like($form->{customer})); + push(@values, like($form->{customer})); } if ($form->{"cp_name"}) { $where .= " AND (cp.cp_name ILIKE ? OR cp.cp_givenname ILIKE ?)"; @@ -531,7 +531,7 @@ sub ar_transactions { foreach my $column (qw(invnumber ordnumber cusordnumber notes transaction_description)) { if ($form->{$column}) { $where .= " AND a.$column ILIKE ?"; - push(@values, $form->like($form->{$column})); + push(@values, like($form->{$column})); } } if ($form->{"project_id"}) {