From 40fcfb4243619a7daf372a7cf840c111d24819c2 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 2 Jul 2009 17:19:32 +0200 Subject: [PATCH] =?utf8?q?Verwendung=20von=20benutzerdefinierten=20Variabl?= =?utf8?q?en=20f=C3=83=C5=92r=20Waren/Dienstleistungen/Erzegunisse=20auch?= =?utf8?q?=20in=20Einkaufsmasken=20erm=C3=83=C2=B6glichen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/IR.pm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/SL/IR.pm b/SL/IR.pm index 02b2fa680..a3011aec2 100644 --- a/SL/IR.pm +++ b/SL/IR.pm @@ -1097,6 +1097,16 @@ sub retrieve_item { } $sth->finish(); + + foreach my $item (@{ $form->{item_list} }) { + my $custom_variables = CVar->get_custom_variables(module => 'IC', + trans_id => $item->{id}, + dbh => $dbh, + ); + + map { $item->{"ic_cvar_" . $_->{name} } = $_->{value} } @{ $custom_variables }; + } + $dbh->disconnect(); $main::lxdebug->leave_sub(); -- 2.20.1