From ce7fedcb87f9c34c63c5c4cf790e1a4cd7eb834e Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 14 May 2015 10:57:07 +0200 Subject: [PATCH] getCompiledData() must be public for e.g. mailer classes such as DebugMailer. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- inc/classes/main/template/class_BaseTemplateEngine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/classes/main/template/class_BaseTemplateEngine.php b/inc/classes/main/template/class_BaseTemplateEngine.php index ed6f5dd6..a447eb57 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -647,11 +647,11 @@ class BaseTemplateEngine extends BaseFrameworkSystem { } /** - * Getter for compiled templates + * Getter for compiled templates, must be public for e.g. Mailer classes. * * @return $compiledData Compiled template data */ - protected final function getCompiledData () { + public final function getCompiledData () { //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('BASE-TEMPLATE[' . __METHOD__ . ':' . __LINE__ . ']: ' . strlen($this->compiledData) . ' Bytes read.'); return $this->compiledData; } -- 2.39.2