Entfernt doppelte Prüfung
authorNiclas Zimmermann <niclas@kivitendo-premium.de>
Tue, 2 Apr 2013 09:05:46 +0000 (11:05 +0200)
committerNiclas Zimmermann <niclas@kivitendo-premium.de>
Tue, 2 Apr 2013 09:05:46 +0000 (11:05 +0200)
SL/AM enthielt unnötig doppelten Code.

SL/AM.pm

index 407fc48..fc15f19 100644 (file)
--- a/SL/AM.pm
+++ b/SL/AM.pm
@@ -216,9 +216,6 @@ sub save_account {
   if ($form->{AR_include_in_dropdown}) {
     $form->{$form->{AR_include_in_dropdown}} = $form->{AR_include_in_dropdown};
   }
-  if ($form->{AP_include_in_dropdown}) {
-    $form->{$form->{AP_include_in_dropdown}} = $form->{AP_include_in_dropdown};
-  }
 
   $form->{link} = "";
   foreach my $item ($form->{AR},            $form->{AR_amount},