From cb5a90388fa7cd99a0867b59f888d54b9ae24d5d Mon Sep 17 00:00:00 2001 From: roberto Date: Thu, 23 Aug 2012 08:38:59 +0000 Subject: [PATCH] =?UTF-8?q?#993=20Para=20a=C3=B1adir=20un=20candidato=20lo?= =?UTF-8?q?s=20datos=20obligatorios=20han=20de=20ser=20Nombre=20y=20email.?= =?UTF-8?q?=20No=20hacen=20falta=20apellidos.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_IntranetNueva/trunk@79 77cfc57b-8ef4-1849-9df6-4a38aa5da120 --- www/protected/models/Candidato.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',