Logikfehler bei Codeumstellung in Revision 2963.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 14 Jan 2008 13:36:40 +0000 (13:36 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Mon, 14 Jan 2008 13:36:40 +0000 (13:36 +0000)
bin/mozilla/ic.pl

index 2922cfa..fbd4fde 100644 (file)
@@ -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;