Alexandre Jousset | 14 Mar 09:37

Re: [FormBuilder] validate + commas in FB source files

	Just a note :

Alexandre Jousset wrote:
> --- /root/.cpan/build/CGI-FormBuilder-3.0501/lib/CGI/FormBuilder/Field.pm       2007-03-02
19:13:14.000000000 +0100
> +++ /usr/local/share/perl/5.8.8/CGI/FormBuilder/Field.pm        2007-03-13 12:31:21.000000000 +0100
> @@ -620,7 +620,7 @@
>      elsif (ref $pattern eq 'ARRAY') {
>          # Must be w/i this set of values
>          # Can you figure out how this piece of Perl works? No, seriously, I forgot.
> -        $jsfunc .= qq[${in}if ($notnull ($jsfield != ']
> +        $jsfunc .= qq[${in}if ($notnull ($jsfield != \']
>                   . join("' && $jsfield != '", @{$pattern}) . "')) {\n";

	This part of the patch is just for Emacs to be happy with syntax 
highlighting... Not really necessary...

	Regards,
--

-- 
--      \^/                                            --
--    -/ O \---------------------------------------    --
--   | |/ \|      Alexandre (Midnite) Jousset      |   --
--    -|___|---------------------------------------    --
_______________________________________________
FBusers mailing list
FBusers <at> formbuilder.org
http://www.formbuilder.org/mailman/listinfo/fbusers


Gmane