Indefero

Indefero Commit Details


Date:2008-12-23 04:20:08 (15 years 11 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:4f682c2e932f7d1ba7d98931340ed8fd3c267986
Parents: d29267875974c1e7dac2ba88e78a626e7cba2348
Message:Fixed to prevent entering empty bug reports.

Changes:

File differences

src/IDF/Form/IssueCreate.php
173173
174174
175175
176
177
178
179
180
181
182
183
184
176185
177186
178187
return $this->cleaned_data;
}
function clean_content()
{
$content = trim($this->cleaned_data['content']);
if (strlen($content) == 0) {
throw new Pluf_Form_Invalid(__('You need to provide a description of the issue.'));
}
return $content;
}
function clean_status()
{
// Check that the status is in the list of official status
src/IDF/Form/IssueUpdate.php
140140
141141
142142
143
144
145
146
147
148
149
150
151
143152
144153
145154
}
}
function clean_content()
{
$content = trim($this->cleaned_data['content']);
if (!$this->show_full and strlen($content) == 0) {
throw new Pluf_Form_Invalid(__('You need to provide a description of the issue.'));
}
return $content;
}
/**
* We check that something is really changed.
*/

Archive Download the corresponding diff file

Page rendered in 0.08409s using 13 queries.