This commit is contained in:
liyuchun
2021-12-28 14:10:59 +08:00
parent 85ae7e23cb
commit dc46e684fe
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -1325,7 +1325,7 @@ class mrModel extends model
$commits = array();
foreach($DiffCommits as $DiffCommit)
{
$commits[] = substr($DiffCommit->id, 0, 10);
if(isset($DiffCommit->id)) $commits[] = substr($DiffCommit->id, 0, 10);
}
return $this->dao->select('objectID')->from(TABLE_ACTION)->where('objectType')->eq($type)->andWhere('extra')->in($commits)->fetchPairs('objectID');