* Rewrite program product page.
This commit is contained in:
@@ -753,7 +753,8 @@ class program extends control
|
||||
$program = $this->program->getByID($programID);
|
||||
if(!$program) return print(js::error($this->lang->notFound) . js::locate('back'));
|
||||
|
||||
echo $this->fetch('program', 'product', "programID=$programID");
|
||||
if(common::hasPriv('program', 'product')) return $this->locate(inlink('product', "programID=$programID"));
|
||||
if(common::hasPriv('program', 'project')) return $this->locate(inlink('project', "programID=$programID"));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user