From cc7a38de9385a78eada532f4f6d656d81285c5dc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Tue, 5 May 2009 11:44:39 +0000 Subject: [PATCH] Bugzilla 856 - Eine Datei zu dem Eintrag von gerade noch hinzufuegen (has_ean) --- bin/mozilla/common.pl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 9cd54a456..0d7862b30 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -69,6 +69,11 @@ sub select_part { $has_charge = 1; map { $_->{has_charge} = 1; } @parts; } + my $has_ean = 0; + if (defined($parts[0]->{ean})) { + $has_ean = 1; + map { $_->{has_ean} = 1; } @parts; + } my $old_form = save_form(); @@ -80,6 +85,7 @@ sub select_part { "nextsub" => "select_part_internal", "callback_sub" => $callback_sub, "has_charge" => $has_charge, + "has_ean" => $has_ean, "remap_parts_id" => $remap_parts_id, "remap_partnumber" => $remap_partnumber }); -- 2.20.1