* Fix unit test bug.

This commit is contained in:
wangyuting
2024-03-27 15:57:26 +08:00
parent 7e00e85815
commit cbbefc837c
3 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -2124,7 +2124,7 @@ class pivotModel extends model
*/
public function getSysOptions($type, $object = '', $field = '', $source = '', $saveAs = '')
{
if(in_array($type, array('user', 'product', 'project', 'execution', 'dept'))) return $this->bi->getScopeOptions($type);
if(in_array($type, array('user', 'product', 'project', 'execution', 'dept', 'project.status'))) return $this->bi->getScopeOptions($type);
if(!$field) return array();
$options = array();