From 23bbbc6013386bf836f69cba72f20b795dae678e Mon Sep 17 00:00:00 2001 From: roberto Date: Mon, 24 Sep 2012 10:57:38 +0000 Subject: [PATCH] =?UTF-8?q?-=20Revisi=C3=B3n=20del=20c=C3=B3digo=20del=20m?= =?UTF-8?q?odelo=20de=20Usuario=20par=20quitar=20el=20campo=20'Tipo'=20com?= =?UTF-8?q?o=20obligatorio.?= 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_PROFIND_Web/trunk@18 3fe1ab16-cfe0-e34b-8c9f-7d8c168d430d --- www/protected/models/Usuario.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/protected/models/Usuario.php b/www/protected/models/Usuario.php index 6a1961e..7a80d50 100644 --- a/www/protected/models/Usuario.php +++ b/www/protected/models/Usuario.php @@ -59,7 +59,7 @@ class Usuario extends CActiveRecord { // NOTE: you should only define rules for those attributes that // will receive user inputs. return array( - array('email, password, tipo', 'required'), + array('email, password', 'required'), array('estado', 'length', 'max'=>1), array('email', 'email'), array('email', 'unique'),