Indefero

Indefero Commit Details


Date:2009-01-30 16:28:18 (15 years 10 months ago)
Author:Loic d'Anterroches
Branch:dev, 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:01b68978ff4c169f66194bbb2f212274cc436a83
Parents: 8f7ec572130b6464366fafcb9802a152393cbfff
Message:Fixed a crash when submitting a new code review and no full rights.

Changes:

File differences

src/IDF/Form/ReviewCreate.php
169169
170170
171171
172
173
174
172175
173176
174177
$review->project = $this->project;
$review->summary = $this->cleaned_data['summary'];
$review->submitter = $this->user;
if (!isset($this->cleaned_data['status'])) {
$this->cleaned_data['status'] = 'New';
}
$review->status = IDF_Tag::add(trim($this->cleaned_data['status']), $this->project, 'Status');
$review->create();
// add the first patch

Archive Download the corresponding diff file

Page rendered in 0.06819s using 13 queries.