X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FUSTVA.pm;h=61a64818bb2c90b693d576531a736e175fb2d901;hb=ee3ab257a5a8f5d4d20ffcf5f3b8259b822037f2;hp=658e2c766e510006c63555da070d358b0daa12ac;hpb=ccd0b365250f57021a756203f65a4d153709b45d;p=kivitendo-erp.git diff --git a/SL/USTVA.pm b/SL/USTVA.pm index 658e2c766..61a64818b 100644 --- a/SL/USTVA.pm +++ b/SL/USTVA.pm @@ -386,11 +386,7 @@ sub info { } else { - if ($form->{error_function}) { - &{ $form->{error_function} }($msg); - } else { - die "Hinweis: $msg\n"; - } + die "Hinweis: $msg\n"; } $main::lxdebug->leave_sub(); @@ -882,7 +878,7 @@ sub get_accounts_ustva { } else { - $self->error("Unknown tax method: $form->{method}") + $form->error("Unknown tax method: $form->{method}") }