From: Sven Schöling Date: Tue, 22 Mar 2016 11:58:48 +0000 (+0100) Subject: warnings: SL::Controller::CsvImport::num_imported auf 0 initalisieren X-Git-Tag: release-3.4.1~300 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=8832d153b593cd844c9d5a41bf20526e69bf7f15;p=kivitendo-erp.git warnings: SL::Controller::CsvImport::num_imported auf 0 initalisieren --- diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index 5183cf623..a17740188 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -31,8 +31,8 @@ use parent qw(SL::Controller::Base); use Rose::Object::MakeMethods::Generic ( scalar => [ qw(type profile file all_profiles all_charsets sep_char all_sep_chars quote_char all_quote_chars escape_char all_escape_chars all_buchungsgruppen all_units - import_status errors headers raw_data_headers info_headers data num_imported num_importable displayable_columns file all_taxzones) ], - 'scalar --get_set_init' => [ qw(worker task_server) ], + import_status errors headers raw_data_headers info_headers data num_importable displayable_columns file all_taxzones) ], + 'scalar --get_set_init' => [ qw(worker task_server num_imported) ], 'array' => [ progress_tracker => { }, add_progress_tracker => { interface => 'add', hash_key => 'progress_tracker' }, @@ -632,6 +632,8 @@ sub init_worker { : die "Program logic error"; } +sub init_num_imported { 0 } + sub setup_help { my ($self) = @_;