X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FLocale.pm;h=d6ac18157239733e8d08b135b4340e9b79ee4c6c;hb=c9e93ded8a5ca6f8a9212c5e64a99616889b5aac;hp=b869587ca983c22d00f4112bd63fa28524efc48e;hpb=76c486e3bf157e844b0cf11828d55dae2cb7e439;p=kivitendo-erp.git diff --git a/SL/Locale.pm b/SL/Locale.pm index b869587ca..d6ac18157 100644 --- a/SL/Locale.pm +++ b/SL/Locale.pm @@ -215,7 +215,7 @@ sub findsub { if (exists $self->{subs}{$text_rev}) { $text = $self->{subs}{$text_rev}; } elsif ($self->{countrycode} && $self->{NLS_file}) { - Form->error("$text not defined in locale/$self->{countrycode}/$self->{NLS_file}"); + $main::form->error("$text not defined in locale/$self->{countrycode}/$self->{NLS_file}"); } $main::lxdebug->leave_sub();