Fixed to use the private status and the description from the template when creating a project.
This commit is contained in:
parent
4f23ea4dd5
commit
9e6c7dad88
@ -248,6 +248,8 @@ class IDF_Form_Admin_ProjectCreate extends Pluf_Form
|
||||
$sql = new Pluf_SQL('shortname=%s',
|
||||
array($this->cleaned_data['template']));
|
||||
$tmpl = Pluf::factory('IDF_Project')->getOne(array('filter' => $sql->gen()));
|
||||
$project->private = $tmpl->private;
|
||||
$project->description = $tmpl->description;
|
||||
$tmplconf = new IDF_Conf();
|
||||
$tmplconf->setProject($tmpl);
|
||||
// We need to get all the configuration variables we want from
|
||||
|
Loading…
Reference in New Issue
Block a user