From: Roland Häder Date: Tue, 15 May 2012 19:26:16 +0000 (+0000) Subject: Some minor improvements X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a8184730773f351650c1e1efc3a3344b119dca20;p=core.git Some minor improvements --- diff --git a/inc/classes/main/registry/class_BaseRegistry.php b/inc/classes/main/registry/class_BaseRegistry.php index 73c60cf3..be8f8d63 100644 --- a/inc/classes/main/registry/class_BaseRegistry.php +++ b/inc/classes/main/registry/class_BaseRegistry.php @@ -130,14 +130,14 @@ class BaseRegistry extends BaseFrameworkSystem implements Registerable { $entry = array(); // "Walk" over all entries - foreach ($this->getEntries('object-name') as $key=>$value) { + foreach ($this->getEntries('object-name') as $key => $value) { // Debug message //* DEBUG: */ $this->debugOutput('REGISTRY: Checking key=' . $key . ',value=' . $value . ',lookFor=' . $lookFor); // If $value matches the $lookFor, we need to look for more entries for this! if ($lookFor == $value) { // Look for more entries - foreach ($this->getEntries() as $key2=>$value2) { + foreach ($this->getEntries() as $key2 => $value2) { // Debug message //* DEBUG: */ $this->debugOutput('REGISTRY: Checking key2=' . $key2 . ',value2=' . print_r($value2, true) . ',lookFor=' . $lookFor); diff --git a/inc/classes/main/template/class_BaseTemplateEngine.php b/inc/classes/main/template/class_BaseTemplateEngine.php index f58a15a1..16e50187 100644 --- a/inc/classes/main/template/class_BaseTemplateEngine.php +++ b/inc/classes/main/template/class_BaseTemplateEngine.php @@ -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);