* Fix code.

This commit is contained in:
Yagami
2021-03-30 16:13:13 +08:00
parent 6fe0d38959
commit c5031c8216
+1 -2
View File
@@ -1672,8 +1672,7 @@ class testcaseModel extends model
{
if(!empty($case->story))
{
$projects = $this->dao->select('project')->from(TABLE_PROJECTSTORY)->where('story')->eq($case->story)->fetchAll('project');
$projects = array_keys($projects);
$projects = $this->dao->select('project')->from(TABLE_PROJECTSTORY)->where('story')->eq($case->story)->fetchPairs();
}
elseif($this->app->openApp == 'project' and empty($case->story))
{