Nicolas Perriault wrote:
> Matthias Nothhaft a écrit :
>
>> This error is because $key is now a sfOutputEscaperArrayDecorator. :-(
>
> I had similar issue : http://www.symfony-project.com/trac/ticket/1204
>
> But classed wontfix :/
You can solve your issue by writing:
<?php if ($sf_data->getRaw('user')->hasGame($game) === true): ?>
<p>User has the Game</p>
<?php else: ?>
<p>User doesn't have the Game</p>
<?php endif; ?>
This is matter of the encoding strategy.
But I do not believe that "wontfix" is enough for the admin generator...
So.. for now I will probably add a hack to the helper that checks the
encoding strategy.
Regards,
Matthias
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---