Besseres return (keine subtilen Bugs)
authorJan Büren <jan@kivitendo-premium.de>
Thu, 2 Oct 2014 06:31:56 +0000 (08:31 +0200)
committerJan Büren <jan@kivitendo-premium.de>
Thu, 2 Oct 2014 06:31:56 +0000 (08:31 +0200)
return undef entfernt.

bin/mozilla/oe.pl

index 1d32138..4e4e64d 100644 (file)
@@ -2090,7 +2090,7 @@ sub check_transport_cost_reminder_article_number {
 
   my $transport_article = $::instance_conf->get_transport_cost_reminder_article_number;
   for my $i (1 .. $form->{rowcount}) {
-    return undef if $form->{"partnumber_${i}"} eq $transport_article;
+    return if $form->{"partnumber_${i}"} eq $transport_article;
   }
 
   return $transport_article;