* Fix group error.

This commit is contained in:
sgm0422
2020-06-16 10:49:23 +08:00
parent fc4d8db013
commit 8ecac0f6fb
4 changed files with 8 additions and 3 deletions
+1
View File
@@ -68,6 +68,7 @@ class programModel extends model
{
$programID = $this->dao->lastInsertId();
$today = helper::today();
if($project->acl != 'open') $this->loadModel('user')->updateUserView($programID, 'program');
/* Save order. */
$this->dao->update(TABLE_PROJECT)->set('`order`')->eq($programID * 5)->where('id')->eq($programID)->exec();