From: Moritz Bunkus Date: Mon, 14 Jan 2008 13:36:40 +0000 (+0000) Subject: Logikfehler bei Codeumstellung in Revision 2963. X-Git-Tag: release-2.6.0beta1~351 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/df0cd5df111e996f5f073b499044dc12dd35e6a1?ds=sidebyside Logikfehler bei Codeumstellung in Revision 2963. --- diff --git a/bin/mozilla/ic.pl b/bin/mozilla/ic.pl index 2922cfacb..fbd4fdedf 100644 --- a/bin/mozilla/ic.pl +++ b/bin/mozilla/ic.pl @@ -1473,7 +1473,7 @@ sub form_header { $form->{notes_rows} = $rows; IC->retrieve_buchungsgruppen(\%myconfig, $form); - @{ $form->{BUCHUNGSGRUPPEN} } = grep { $_->{id} eq $form->{buchungsgruppen_id} || ($form->{id} && $form->{orphaned}) || $form->{id} } @{ $form->{BUCHUNGSGRUPPEN} }; + @{ $form->{BUCHUNGSGRUPPEN} } = grep { $_->{id} eq $form->{buchungsgruppen_id} || ($form->{id} && $form->{orphaned}) || !$form->{id} } @{ $form->{BUCHUNGSGRUPPEN} }; # use JavaScript Calendar or not (yes!) $form->{jsscript} = 1;