I have reported an error which the plug-in produces in some cases.
Below is the patch to fix those problems:
======= PATCH =====
128,130c128,136
<                       $data[] = '\''.$name.'\': {';
<                       $data[] = 'required: '.
$attributes['required'].',';
<                       $data[] = 'required_msg: '.
$attributes['required_msg'].'';
---
>                       if ($parent) {
>                         $data[] = '\''. $parent . '[' . $name.']\': {';
>                       } else {
>                         $data[] = '\''.$name.'\': {';
>                       }
>                       $data[] = 'required: '.($attributes['required'] ? 1 : 
> 0).',';
>                       $data[] = 'required_msg: '
>                         . (strlen($attributes['required_msg']) ? 
> $attributes['required_msg'] : "''")
>                         .'';
=======END OF PATCH ====


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to