> Where did you put this code? I mean in which method in the class? Wich code? This one?
> > $context = sfContext::getInstance(); > > $user = $context->getUser(); > > > > if (!$user->hasCredential('administrador')) { > > unset($this['estado_reservacion']); > > } In the config() from TbReservacionForm.class.php Cheers Ing. Reynier Pérez Mira Dirección Técnica IP --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---