* Reslve feedback #1322.

This commit is contained in:
liuyongkai
2023-01-03 10:43:24 +08:00
parent 43e79f8809
commit d0db3a7e88
2 changed files with 130 additions and 1 deletions
+2 -1
View File
@@ -4322,8 +4322,9 @@ class taskModel extends model
private function updateExecutionEsDateByGantt($objectID, $objectType, $postData)
{
$objectData = $this->dao->select('*')->from(TABLE_PROJECT)->where('id')->eq($objectID)->fetch();
$parent = $objectData->parent;
$project = $objectData->project;
$parent = '';
if($objectData->project != $objectData->parent) $parent = $objectData->parent;
if(empty($parent))
{
+128
View File
File diff suppressed because one or more lines are too long