]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Kompatibilität mit älteren lx-erp.confs: Wenn $latex (alt) definiert ist, $latex_temp...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 29 Dec 2006 09:41:36 +0000 (09:41 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 29 Dec 2006 09:41:36 +0000 (09:41 +0000)
am.pl

diff --git a/am.pl b/am.pl
index a9b05323293811aeefcd1b416f9d7a9f6b875622..df71c21e5d86ffc61d717a3412968a60a6a8d0cd 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