X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0ac8d01cb66f67974aea2a00cbccfa59d682752a..94a32127dab6fbe6325bf5b5ecca31f3d20f60ab:/bin/mozilla/do.pl diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index b87fb45d6..76fa8568d 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -941,8 +941,8 @@ sub delete { my $form = $main::form; my %myconfig = %main::myconfig; my $locale = $main::locale; - - if (DO->delete()) { + my $ret; + if ($ret = DO->delete()) { # saving the history if(!exists $form->{addition}) { $form->{snumbers} = qq|donumber_| . $form->{donumber}; @@ -955,7 +955,7 @@ sub delete { $::dispatcher->end_request; } - $form->error($locale->text('Cannot delete delivery order!')); + $form->error($locale->text('Cannot delete delivery order!') . $ret); $main::lxdebug->leave_sub(); }