* Fix bug 48673.

This commit is contained in:
hufangzhou
2024-04-29 10:27:07 +08:00
parent b77fa3f864
commit 62f2d7f1cf
+3
View File
@@ -2133,6 +2133,9 @@ class executionModel extends model
$execution = $this->loadModel('file')->replaceImgURL($execution, 'desc');
if($setImgSize) $execution->desc = $this->file->setImgSize($execution->desc);
$child = $this->dao->select('id')->from(TABLE_EXECUTION)->where('parent')->eq($executionID)->andWhere('deleted')->eq(0)->fetch('id');
$execution->isParent = !empty($child) ? 1 : 0;
return $execution;
}