summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-05-01 16:38:37 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-05-01 16:38:37 +0200
commitb0c9a4aeb61aff8a8fa60746cd566e6dbe05a3b5 (patch)
tree26c8882a37c98c042dd4045635f596fd37b9ca96
parent88b863bba8772a012662624102216907b4126a5c (diff)
downloadste-b0c9a4aeb61aff8a8fa60746cd566e6dbe05a3b5.tar.gz
ste-b0c9a4aeb61aff8a8fa60746cd566e6dbe05a3b5.tar.bz2
ste-b0c9a4aeb61aff8a8fa60746cd566e6dbe05a3b5.zip
No need to clone an array
-rw-r--r--src/ste/STECore.php4
1 files 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;