Made readVariable() protected again, if you need access to this method, implement...
[core.git] / inc / classes / main / template / class_BaseTemplateEngine.php
index cc9739aab3b0dd41168245a304f061f98f643876..231d438235b7fd0d8767e0578b7917fa716bbe4c 100644 (file)
@@ -1146,7 +1146,7 @@ class BaseTemplateEngine extends BaseFrameworkSystem {
                } // END - if
 
                // Iterate through all general variables
-               foreach ($this->getVarStack('general') as $index=>$currVariable) {
+               foreach ($this->getVarStack('general') as $index => $currVariable) {
                        // Compile the value
                        $value = $this->compileRawCode($this->readVariable($currVariable['name']), true);
 
@@ -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);