]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Fehlendes "return".
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 11 Sep 2007 09:02:33 +0000 (09:02 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 11 Sep 2007 09:02:33 +0000 (09:02 +0000)
SL/OE.pm

index 7fc5853b073ae6b34282e859797cc49e60ce2eb0..5a1db0cccfc7ca5fa6c618c285dc8310c35c7b90 100644 (file)
--- a/SL/OE.pm
+++ b/SL/OE.pm
@@ -504,7 +504,7 @@ sub close_order {
 
   my ($self, $myconfig, $form) = @_;
 
-  $main::lxdebug->leave_sub() unless ($form->{"id"});
+  return $main::lxdebug->leave_sub() unless ($form->{"id"});
 
   my $dbh = $form->dbconnect($myconfig);
   do_query($form, $dbh, qq|UPDATE oe SET closed = TRUE where id = ?|,