* Fix bug15211,14525
This commit is contained in:
@@ -632,11 +632,12 @@ class programModel extends model
|
||||
|
||||
$whitelist = explode(',', $program->whitelist);
|
||||
$this->loadModel('personnel')->updateWhitelist($whitelist, 'program', $programID);
|
||||
if($program->acl != 'open') $this->loadModel('user')->updateUserView($programID, 'program');
|
||||
|
||||
$this->file->updateObjectID($this->post->uid, $programID, 'program');
|
||||
$this->setTreePath($programID);
|
||||
|
||||
if($program->acl != 'open') $this->loadModel('user')->updateUserView($programID, 'program');
|
||||
|
||||
return $programID;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user