From: Roland Häder Date: Mon, 28 Mar 2011 23:10:17 +0000 (+0000) Subject: Setting back compacted template content will reduce memory usage X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=196dd0bab261d6de5aec87fa9c95d115a3aed1ff;p=core.git Setting back compacted template content will reduce memory usage --- diff --git a/inc/classes/main/template/class_BaseTemplateEngine.php b/inc/classes/main/template/class_BaseTemplateEngine.php index d31f5cfd..65152544 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -1524,6 +1524,9 @@ class BaseTemplateEngine extends BaseFrameworkSystem { } // END - foreach } // END - if + // Set the content again + $this->setRawTemplateData($compactedContent); + // Return compacted content return $compactedContent; }