Incorrect use of spaces for indentation in <5.4
authorAlexander Ebert <ebert@woltlab.com>
Wed, 8 Sep 2021 12:05:13 +0000 (14:05 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 8 Sep 2021 12:05:13 +0000 (14:05 +0200)
wcfsetup/install/files/lib/system/template/TemplateEngine.class.php

index 998ef3e1474a44c7d0dfe2fa2e040aa5e7cf94f7..cdc8f3a2598ffee7855df7d3089d7f4fb7a583cc 100755 (executable)
@@ -522,10 +522,10 @@ class TemplateEngine extends SingletonFactory {
         */
        public function enableSandbox() {
                $index = \count($this->sandboxVars);
-        $this->sandboxVars[$index] = [
-            'foreachVars' => $this->foreachVars,
-            'v' => $this->v,
-        ];
+               $this->sandboxVars[$index] = [
+                       'foreachVars' => $this->foreachVars,
+                       'v' => $this->v,
+               ];
        }
        
        /**
@@ -536,9 +536,9 @@ class TemplateEngine extends SingletonFactory {
                        throw new SystemException('TemplateEngine is currently not running in a sandbox.');
                }
 
-        $values = \array_pop($this->sandboxVars);
-        $this->foreachVars = $values['foreachVars'];
-        $this->v = $values['v'];
+               $values = \array_pop($this->sandboxVars);
+               $this->foreachVars = $values['foreachVars'];
+               $this->v = $values['v'];
        }
        
        /**