* fix bug for fulltext search and action.

This commit is contained in:
王怡栋
2021-08-11 13:57:55 +08:00
parent 925d78059f
commit f5caade0e4
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -965,7 +965,7 @@ class actionModel extends model
$objectName = array();
$objectProject = array();
if(strpos($this->config->action->needGetProjectType, $objectType) !== false)
if(strpos(",{$this->config->action->needGetProjectType},", ",{$objectType},") !== false)
{
$objectInfo = $this->dao->select("id, project, $field AS name")->from($table)->where('id')->in($objectIds)->fetchAll();
foreach($objectInfo as $object)