From 655f99b0e860b2922186ea6efd473d2643cf0e6a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 15 May 2012 16:54:47 +0000 Subject: [PATCH] Made readVariable() public, used single-quotes instead of double --- 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 cc9739aa..f58a15a1 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -243,7 +243,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem { * @param $stack Optional variable stack to look in * @return $content Content of the variable or null if not found */ - protected function readVariable ($var, $stack = NULL) { + public function readVariable ($var, $stack = NULL) { // First everything is not found $content = NULL; @@ -1325,7 +1325,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem { // Is this view helper loaded? if (!isset($this->helpers[$helperName])) { // Create a class name - $className = "{$helperName}ViewHelper"; + $className = $helperName . 'ViewHelper'; // Generate new instance $this->helpers[$helperName] = ObjectFactory::createObjectByName($className); -- 2.39.5