Fixed issue 219, notification when adding a wrong user in a project.

This commit is contained in:
Loic d'Anterroches
2009-05-26 13:33:00 +02:00
parent 668b49df40
commit c866d09e27
4 changed files with 65 additions and 0 deletions

View File

@@ -61,6 +61,16 @@ class IDF_Form_Admin_ProjectUpdate extends Pluf_Form
));
}
public function clean_owners()
{
return IDF_Form_MembersConf::checkBadLogins($this->cleaned_data['owners']);
}
public function clean_members()
{
return IDF_Form_MembersConf::checkBadLogins($this->cleaned_data['members']);
}
public function save($commit=true)
{
if (!$this->isValid()) {