From 5056cd960a28f40bae18fe74405b7afe4c460a75 Mon Sep 17 00:00:00 2001 From: caoyanyi Date: Fri, 30 Jun 2023 12:25:38 +0800 Subject: [PATCH] * Fix error for actions. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index 602b774f8c..ed0844f18d 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -1478,7 +1478,7 @@ class actionModel extends model elseif($objectType == 'stakeholder') { $objectName = $this->dao->select("t1.id, t2.realname")->from($table)->alias('t1') - ->leftJoin(TABLE_USER)->alias('t2')->on("t1.{`$field`} = t2.account") + ->leftJoin(TABLE_USER)->alias('t2')->on("t1.`{$field}` = t2.account") ->where('t1.id')->in($objectIdList) ->fetchPairs(); }