diff --git a/www/protected/models/Candidato.php b/www/protected/models/Candidato.php index 7d45ef4..a27a527 100644 --- a/www/protected/models/Candidato.php +++ b/www/protected/models/Candidato.php @@ -145,7 +145,7 @@ class Candidato extends CActiveRecord // NOTE: you should only define rules for those attributes that // will receive user inputs. return array( - array('nombre, apellidos', 'required'), + array('nombre, email', 'required'), array('email', 'unique'), array('email', 'email'), array('foto', 'file',