diff --git a/www/protected/models/Empresa.php b/www/protected/models/Empresa.php index 886fbe7..7d2d7e3 100644 --- a/www/protected/models/Empresa.php +++ b/www/protected/models/Empresa.php @@ -44,7 +44,7 @@ class Empresa extends CActiveRecord { array('empleados', 'numerical', 'integerOnly' => true), array('cif, nombre, email, pagina_web, direccion', 'length', 'max' => 255), array('empleados', 'numerical', 'integerOnly' => true), - array('pagina_web', 'url'), + array('pagina_web', 'url', 'defaultScheme' => 'http'), array('email', 'email'), array('descripcion', 'safe'),