From: Sven Schöling Date: Thu, 1 Oct 2009 08:29:02 +0000 (+0200) Subject: Was auch immer vcar sein sollte. X-Git-Tag: release-2.6.1beta1~265 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5114d0d5cf6da99d380b83a4ad10579c4804fac3;p=kivitendo-erp.git Was auch immer vcar sein sollte. --- diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index dba4ce4d7..37e1b2668 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -895,7 +895,7 @@ sub order { $script =~ s|.pl$||; $locale = new Locale($language, $script); - map { $form->{"select$_"} = "" } ($form->{vc}, currency); + map { $form->{"select$_"} = "" } ($form->{vc}, "currency"); $currency = $form->{currency}; @@ -1982,7 +1982,7 @@ sub _render_custom_variables_inputs { foreach my $cvar (@{ $form->{CVAR_CONFIGS}->{IC} }) { $cvar->{valid} = $params{part_id} ? CVar->get_custom_variables_validity(config_id => $cvar->{id}, trans_id => $params{part_id}) - : $vcar->{valid}; + : 1; $cvar->{value} = $form->{"ic_cvar_" . $cvar->{name} . "_$params{row}"}; }