Skip to content

Commit

Permalink
Fixed issue: Possibility to enter leading/trailing spaces for email a…
Browse files Browse the repository at this point in the history
…ddress
  • Loading branch information
c-schmitz committed Jan 27, 2014
1 parent 1a1703a commit 97c75ef
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions application/models/TokenDynamic.php
Expand Up @@ -86,6 +86,8 @@ public function rules()
{
return array(
array('remindercount','numerical', 'integerOnly'=>true,'allowEmpty'=>true),
array('email','filter','filter'=>'trim'),
array('email','email', 'allowEmpty'=>true),
array('usesleft','numerical', 'integerOnly'=>true,'allowEmpty'=>true),
array('mpid','numerical', 'integerOnly'=>true,'allowEmpty'=>true),
array('blacklisted', 'in','range'=>array('Y','N'), 'allowEmpty'=>true),
Expand Down

0 comments on commit 97c75ef

Please sign in to comment.