This commit is contained in:
Yagami
2020-10-15 09:07:32 +08:00
parent ff7e706d4d
commit 7d7305bab8
4 changed files with 50 additions and 6 deletions
+1 -1
View File
@@ -283,7 +283,7 @@ class programModel extends model
{
$programID = $this->dao->lastInsertId();
$today = helper::today();
//if($project->acl != 'open') $this->loadModel('user')->updateUserView($programID, 'program');
if($program->acl != 'open') $this->loadModel('user')->updateUserView($programID, 'program');
$this->dao->update(TABLE_PROGRAM)->set('`order`')->eq($programID * 5)->where('id')->eq($programID)->exec(); // Save order.
$this->file->updateObjectID($this->post->uid, $programID, 'project');