* Finish task#8117.
This commit is contained in:
@@ -339,6 +339,7 @@ class programModel extends model
|
||||
->stripTags($this->config->program->editor->pgmedit['id'], $this->config->allowedTags)
|
||||
->remove('uid')
|
||||
->get();
|
||||
if(!isset($project->whitelist) or $project->acl != 'custom') $project->whitelist = '';
|
||||
|
||||
$program = $this->loadModel('file')->processImgURL($program, $this->config->program->editor->pgmedit['id'], $this->post->uid);
|
||||
$children = $this->getChildren($programID);
|
||||
@@ -1132,6 +1133,8 @@ class programModel extends model
|
||||
->remove('longTime')
|
||||
->get();
|
||||
|
||||
if(!isset($project->whitelist) or $project->acl != 'custom') $project->whitelist = '';
|
||||
|
||||
if($project->parent)
|
||||
{
|
||||
$parentProgram = $this->dao->select('*')->from(TABLE_PROGRAM)->where('id')->eq($project->parent)->fetch();
|
||||
|
||||
Reference in New Issue
Block a user