* revert dynamicAction lang.

This commit is contained in:
wangyidong
2019-06-13 14:11:56 +08:00
parent a439ef9a26
commit dcac58b007
4 changed files with 142 additions and 143 deletions
+1 -1
View File
@@ -406,7 +406,7 @@ class taskModel extends model
{
$childTask = $this->dao->select('*')->from(TABLE_TASK)->where('id')->eq($taskID)->fetch();
if(empty($parentID)) $parentID = $childTask->parent;
if(empty($parentID)) return true;
if($parentID <= 0) return true;
$this->computeWorkingHours($parentID);