From b0c9a4aeb61aff8a8fa60746cd566e6dbe05a3b5 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Fri, 1 May 2020 16:38:37 +0200 Subject: No need to clone an array --- src/ste/STECore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ste/STECore.php b/src/ste/STECore.php index ccb2a22..13fb2f6 100644 --- a/src/ste/STECore.php +++ b/src/ste/STECore.php @@ -252,8 +252,8 @@ class STECore $this->cur_tpl_dir = dirname($tpl); if ($quiet) { - $blocks_back = clone $this->blocks; - $blockorder_back = clone $this->blockorder; + $blocks_back = $this->blocks; + $blockorder_back = $this->blockorder; } $mode = StorageAccess::MODE_TRANSCOMPILED; -- cgit v1.2.3-70-g09d2