]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Auftrags-Controller: überflüssiges "die"-Statement entfernt
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 20 May 2022 08:35:44 +0000 (10:35 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 20 May 2022 09:10:42 +0000 (11:10 +0200)
SL/Controller/Order.pm

index a37df9e2389373593c00e6d07e94b2d20f23d251..971bfbfcec4856de94dd1da529fd9996ea06438b 100644 (file)
@@ -1859,7 +1859,6 @@ sub save {
   if ($::form->{phone_note}->{subject} || $::form->{phone_note}->{body}) {
     if (!$::form->{phone_note}->{subject} || !$::form->{phone_note}->{body}) {
       return [t8('Phone note needs a subject and a body.')];
   if ($::form->{phone_note}->{subject} || $::form->{phone_note}->{body}) {
     if (!$::form->{phone_note}->{subject} || !$::form->{phone_note}->{body}) {
       return [t8('Phone note needs a subject and a body.')];
-      die;
     }
 
     my $phone_note;
     }
 
     my $phone_note;