X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2644d2a93d051b4040354c87c0410ebf494a15df..47db6ae13df64092d401896ec476b9335e9ec807:/SL/Controller/PayPostingImport.pm 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]);