From 38e0237d5f83c666cc5165536e06fd2c488ec4cb Mon Sep 17 00:00:00 2001 From: sunhao Date: Tue, 23 Jan 2024 13:49:51 +0800 Subject: [PATCH] * zin: rename fieldList::batchSet to fieldList ::set. --- lib/zin/zentao/fieldlist.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/zin/zentao/fieldlist.class.php b/lib/zin/zentao/fieldlist.class.php index 8a009c48e3..b2d91fc936 100644 --- a/lib/zin/zentao/fieldlist.class.php +++ b/lib/zin/zentao/fieldlist.class.php @@ -233,7 +233,7 @@ class fieldList return array_keys($this->fields); } - public function batchSet(string|array $names, string|array $prop, mixed $value = null): fieldList + public function set(string|array $names, string|array $prop, mixed $value = null): fieldList { $names = is_string($names) ? explode(',', $names) : $names; foreach($names as $name)