]> wagnertech.de Git - kivitendo-erp.git/commitdiff
Bugfix: Kommentarhandling in Inifile
authorSven Schöling <s.schoeling@linet-services.de>
Mon, 27 Jul 2015 13:55:36 +0000 (15:55 +0200)
committerSven Schöling <s.schoeling@linet-services.de>
Mon, 27 Jul 2015 13:55:36 +0000 (15:55 +0200)
Das ist aber immernoch Schrott, weil die Latex order # enthält, und
trotzdem rausgegrillt wird.

SL/Inifile.pm

index 91af9fc797e91ae486fc063223c188c67c74c778..6ecb41f79ba9fcdfc2ec99f97945131ca5c73340 100644 (file)
@@ -60,7 +60,7 @@ sub new {
       s/\s*#.*$//;
       s/^\s*//;
     } else {
-      next if m/#/;
+      next if m/^\s*#/;
     }
 
     next unless $_;