From 8ce8c072ad1a6720171efce745b05c05fbc744d9 Mon Sep 17 00:00:00 2001 From: sunhao Date: Thu, 13 Jun 2024 19:02:44 +0800 Subject: [PATCH] * [misc] skip @init on check event from node props. --- lib/zin/core/props.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/core/props.class.php b/lib/zin/core/props.class.php index e4b1bb709f..f9dc0af455 100644 --- a/lib/zin/core/props.class.php +++ b/lib/zin/core/props.class.php @@ -141,7 +141,7 @@ class props extends \zin\utils\dataset { foreach($this->storedData as $name => $value) { - if(str_starts_with($name, '@')) return true; + if(str_starts_with($name, '@') && $name !== '@init') return true; } return false;