* Fix object option display with show origin column.

This commit is contained in:
qixinzhi
2024-02-06 14:48:55 +08:00
parent 643950c10c
commit c031e8e377
2 changed files with 4 additions and 3 deletions

View File

@@ -1187,7 +1187,7 @@ class screenModel extends model
if($sql and $field and in_array($type, array('user', 'product', 'project', 'execution', 'dept', 'project.status', 'option', 'object')))
{
$options = $this->getOptionsFromSql($source, $field, $saveAs);
$options = $this->getOptionsFromSql($sql, $field, $saveAs);
}
return array_filter($options);