X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FPayPostingImport.pm;h=c8d39091d7d604af37b5e4aad8f42990ee2856c8;hb=f85f858c4f464251634dab5908d71a80f6703fb9;hp=a2d103f2f6933f82cce5b82fc7de43dffa7fc580;hpb=1867f53caa0ed66005884e7f6ce5acf109a68534;p=kivitendo-erp.git diff --git a/SL/Controller/PayPostingImport.pm b/SL/Controller/PayPostingImport.pm index a2d103f2f..c8d39091d 100644 --- a/SL/Controller/PayPostingImport.pm +++ b/SL/Controller/PayPostingImport.pm @@ -82,7 +82,7 @@ sub parse_and_import { # optional KOST1 - KOST2 ? $department_name = $row->[36]; if ($department_name) { - $department = SL::DB::Manager::Department->get_first(description => { like => $department_name . '%' }); + $department = SL::DB::Manager::Department->get_first(where => [ description => { ilike => $department_name . '%' } ]); } my $amount = $::form->parse_amount({ numberformat => '1000,00' }, $row->[0]);