Diese Variable wurde umbenannt.
[kivitendo-erp.git] / am.pl
diff --git a/am.pl b/am.pl
index a9b0532..df71c21 100755 (executable)
--- a/am.pl
+++ b/am.pl
@@ -46,6 +46,11 @@ use SL::Form;
 
 eval { require "lx-erp.conf"; };
 
+if (defined($latex) && !defined($latex_templates)) {
+  $latex_templates = $latex;
+  undef($latex);
+}
+
 $form = new Form;
 
 # name of this script