* Correct the return type of function.

This commit is contained in:
dingguodong
2023-05-08 18:44:14 +08:00
parent 7391fefc87
commit 51b0bc2627
+3 -1
View File
@@ -1043,10 +1043,12 @@ class programplanModel extends model
/* If child plans has milestone, update parent plan set milestone eq 0 . */
if($parentID and $milestone) $this->dao->update(TABLE_PROJECT)->set('milestone')->eq(0)->where('id')->eq($parentID)->exec();
if(dao::isError()) return print(js::error(dao::getError()));
if(dao::isError()) return (bool)print(js::error(dao::getError()));
next($orders);
}
return true;
}
/**