X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FController%2FCsvImport.pm;h=0a6935ed6cf5804869e782e31670b9cb02f997a6;hb=18345d9be2c2273452b05b9562226e48d87abe29;hp=af70dac3d85dfedee7ea397552d74f1892f5513a;hpb=db22d21d2809fbb1569ca85f952f26b95a95210d;p=kivitendo-erp.git diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index af70dac3d..0a6935ed6 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -733,9 +733,13 @@ sub cleanup_reports { } sub check_task_server { + if (!$::auth->client->{task_server_user_id}) { + flash('error', t8('The task server is required for this module but not enabled for the current client. Please enable it for the client "#1" in the administration section.', $::auth->client->{name})); + } + return 1 if $_[0]->task_server->is_running; - flash('info', t8('The task server is not running at the moment but needed for this module')); + flash('warning', t8('The task server is not running at the moment but needed for this module')); 1; }