Benutzerverwaltung im Bereich Verkauf -> Ansicht nur auf eigene Verkaufsdokumente...
[kivitendo-erp.git] / SL / Locale.pm
index b869587..d6ac181 100644 (file)
@@ -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();