This commit is contained in:
tanghucheng
2023-06-21 13:35:55 +08:00
parent 2106458175
commit e52023791a
2 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -356,7 +356,7 @@ class actionModel extends model
->andWhere('((action')->ne('deleted')->andWhere('objectID')->in($objectID)->markRight(1)
->orWhere('(action')->eq('deleted')->andWhere('objectID')->in($modules)->markRight(1)->markRight(1)
->fi()
->beginIF(strpos('project,case,story,module', $objectType) === false)
->beginIF(!in_array($objectType, array('project', 'case', 'story', 'module')))
->where('objectType')->eq($objectType)
->andWhere('objectID')->in($objectID)
->fi()