Indefero

Indefero Commit Details


Date:2009-05-07 08:07:02 (15 years 7 months ago)
Author:Loic 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:d216e21858b69adecf9d455dbc355d132a06c17c
Parents: 358a774017a18f24301b22b90dba6cc052b1daec
Message:Fixed issue 203, user doesn't show in active/inactive if first name is ---.

Changes:

File differences

src/IDF/Form/Admin/UserUpdate.php
180180
181181
182182
183
184
183
184
185
186
187
185188
186189
187190
{
$first_name = trim($this->cleaned_data['first_name']);
if ($first_name == mb_strtoupper($first_name)) {
return mb_convert_case(mb_strtolower($first_name),
MB_CASE_TITLE, 'UTF-8');
$first_name = mb_convert_case(mb_strtolower($first_name),
MB_CASE_TITLE, 'UTF-8');
}
if ($first_name == '---') {
throw new Pluf_Form_Invalid(__('--- is not a valid first name.'));
}
return $first_name;
}

Archive Download the corresponding diff file

Page rendered in 0.08138s using 14 queries.