Indefero

Indefero Commit Details


Date:2010-08-11 07:12:03 (14 years 8 months ago)
Author:Loïc d'Anterroches
Branch:develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, release-1.1, release-1.2, release-1.3
Commit:9e6c7dad88b4e9715f7ff03474b004466e1e9ef9
Parents: 4f23ea4dd5d69012498b86c3dd0fdfeacf44e51e
Message:Fixed to use the private status and the description from the template when creating a project.

Changes:

File differences

src/IDF/Form/Admin/ProjectCreate.php
248248
249249
250250
251
252
251253
252254
253255
            $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

Archive Download the corresponding diff file

Page rendered in 0.14324s using 13 queries.