From 370c1135939a2e91a1611d938d2b2b9555aec0bc Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 4 Feb 2013 11:19:23 +0100 Subject: [PATCH] Refactoring render-Parameter: Reste zu 7647d46 --- SL/Controller/CsvImport.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/Controller/CsvImport.pm b/SL/Controller/CsvImport.pm index e38eb655c..dda08821f 100644 --- a/SL/Controller/CsvImport.pm +++ b/SL/Controller/CsvImport.pm @@ -100,7 +100,7 @@ sub action_result { } if ($data->{progress}{finished} || $data->{errors}) { - $self->render('csv_import/_deferred_report', { no_layout => 1 }); + $self->render('csv_import/_deferred_report', { layout => 0 }); } else { if (!$self->task_server->is_running) { $self->task_server->start; @@ -111,7 +111,7 @@ sub action_result { $self->{status_text} = t8('Import not started yet, please wait...'); } - $self->render('csv_import/_deferred_results', { no_layout => 1 }); + $self->render('csv_import/_deferred_results', { layout => 0 }); } } @@ -184,7 +184,7 @@ sub action_report { $self->{pages} = $pages; $self->{base_url} = $self->url_for(action => 'report', id => $report_id, no_layout => $params{no_layout} || $::form->{no_layout} ); - $self->render('csv_import/report', { no_layout => $params{no_layout} || $::form->{no_layout} }); + $self->render('csv_import/report', { layout => !($params{no_layout} || $::form->{no_layout}) }); } -- 2.20.1