From 02e6f9dbf0eb003762eb5f0414eee4e9e5a5f892 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Mon, 19 Aug 2013 12:53:44 +0200 Subject: [PATCH] =?utf8?q?Deutlich=20machen,=20dass=20hier=20auf=20das=20d?= =?utf8?q?er=20Klasse=20entsprechende=20Profil=20gepr=C3=BCft=20wird.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Controller/CsvImport/Order.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SL/Controller/CsvImport/Order.pm b/SL/Controller/CsvImport/Order.pm index 4f51d39fe..4d923b469 100644 --- a/SL/Controller/CsvImport/Order.pm +++ b/SL/Controller/CsvImport/Order.pm @@ -49,10 +49,10 @@ sub init_profile { # SUPER::init_profile sets row_ident to the translated class name # overwrite it with the user specified settings foreach my $p (@{ $profile }) { - if ($p->{row_ident} eq $::locale->text('Order')) { + if ($p->{class} eq 'SL::DB::Order') { $p->{row_ident} = $self->_order_column; } - if ($p->{row_ident} eq $::locale->text('OrderItem')) { + if ($p->{class} eq 'SL::DB::OrderItem') { $p->{row_ident} = $self->_item_column; } } -- 2.20.1