Setting back compacted template content will reduce memory usage
[core.git] / inc / classes / main / template / class_BaseTemplateEngine.php
index d31f5cf..6515254 100644 (file)
@@ -1524,6 +1524,9 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                        } // END - foreach
                } // END - if
 
+               // Set the content again
+               $this->setRawTemplateData($compactedContent);
+
                // Return compacted content
                return $compactedContent;
        }