From 004a64c9997e0430c403cc0590b8ce0eaacb9788 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 7 Apr 2016 13:17:38 +0200 Subject: [PATCH] =?utf8?q?Offene=20Forderungen/Verbindlichkeiten:=20bei=20?= =?utf8?q?Textfeldern=20f=C3=BChrende/anh=C3=A4ngende=20Whitespaces=20entf?= =?utf8?q?ernen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/RP.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/RP.pm b/SL/RP.pm index 1875e0c96..8fd73f2ba 100644 --- a/SL/RP.pm +++ b/SL/RP.pm @@ -1263,7 +1263,7 @@ sub aging { if ($form->{$ct_id}) { $where .= qq| AND (ct.id = | . conv_i($form->{$ct_id}) . qq|)|; } elsif ($form->{ $form->{ct} }) { - $where .= qq| AND (ct.name ILIKE | . $dbh->quote('%' . $form->{$ct} . '%') . qq|)|; + $where .= qq| AND (ct.name ILIKE | . $dbh->quote($::form->like($form->{$ct})) . qq|)|; } my $dpt_join; -- 2.20.1