From: Moritz Bunkus Date: Thu, 7 Apr 2016 11:17:38 +0000 (+0200) Subject: Offene Forderungen/Verbindlichkeiten: bei Textfeldern führende/anhängende Whitespaces... X-Git-Tag: release-3.4.1~230 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=004a64c9997e0430c403cc0590b8ce0eaacb9788;p=kivitendo-erp.git Offene Forderungen/Verbindlichkeiten: bei Textfeldern führende/anhängende Whitespaces entfernen --- 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;