]> git.mxchange.org Git - mailer.git/blobdiff - inc/template-functions.php
Final fixes?
[mailer.git] / inc / template-functions.php
index 25e899ee11d3d8ec3ad2063ed8183d6ebb1bf3a4..382e4a6c9c7c18280b99ffc1fc42aeba346e0f17 100644 (file)
@@ -240,8 +240,11 @@ function doFinalCompilation ($code, $insertComments = true, $enableCodes = true)
                // Use it again
                $code = $newContent;
 
-               // Compile the final code
-               $code = compileRawCode($code);
+               // Compile the final code if insertComments is true
+               if ($insertComments == true) {
+                       // ... because SQL queries shall keep OPEN_CONFIG and such in
+                       $code = compileRawCode($code);
+               } // END - if
 
                // Count round
                $count++;