From f32644135e83329942a50eaeebcb9f3a191ccab4 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 8 Sep 2021 14:05:13 +0200 Subject: [PATCH] Incorrect use of spaces for indentation in <5.4 --- .../lib/system/template/TemplateEngine.class.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php b/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php index 998ef3e147..cdc8f3a259 100755 --- a/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateEngine.class.php @@ -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']; } /** -- 2.20.1