From 19de2fe02c50d1f78a1bdfe0405d50cd2e81a1e8 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 29 Feb 2024 15:33:35 +0800 Subject: [PATCH] * zin: add the prepend parameter for adding sub items. --- lib/zin/core/node.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/core/node.class.php b/lib/zin/core/node.class.php index 793c198a21..81989a97b3 100644 --- a/lib/zin/core/node.class.php +++ b/lib/zin/core/node.class.php @@ -268,7 +268,7 @@ class node implements \JsonSerializable if(is_array($item)) { - foreach($item as $child) $this->add($child, $blockName); + foreach($item as $child) $this->add($child, $blockName, $prepend); return; }