* [bug#54720,done,0.5h] fix bug.

This commit is contained in:
sunguangming
2024-08-29 16:55:59 +08:00
committed by 王怡栋
parent 38349626ad
commit 142fb8518b
+1 -1
View File
@@ -2385,7 +2385,7 @@ class storyTao extends storyModel
$commitIdList .= $design->commit ? "{$design->commit}," : '';
}
$commits = $this->dao->select('id,repo,revision,committer,comment as title')->from(TABLE_REPOHISTORY)->where('id')->in(array_unique(explode(',', $commitIdList)))->fetchAll('id');
if($commitIdList) $commits = $this->dao->select('id,repo,revision,committer,comment as title')->from(TABLE_REPOHISTORY)->where('id')->in(array_unique(explode(',', $commitIdList)))->fetchAll('id');
foreach($storyGroup['design'] as $storyID => $designs)
{
foreach($designs as $designID => $design)