* Code for programplan sort error.
This commit is contained in:
@@ -878,6 +878,7 @@ class programplanModel extends model
|
||||
$data->days = helper::diffDate($data->end, $data->begin) + 1;
|
||||
$data->order = current($orders);
|
||||
|
||||
next($orders);
|
||||
|
||||
if($data->id)
|
||||
{
|
||||
@@ -1027,8 +1028,6 @@ class programplanModel extends model
|
||||
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()));
|
||||
|
||||
next($orders);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user