]> source.dussan.org Git - jquery.git/commitdiff
nevermind, I'm dumb. =P
authorSean Catchpole <littlecooldude@gmail.com>
Thu, 26 Jul 2007 00:31:48 +0000 (00:31 +0000)
committerSean Catchpole <littlecooldude@gmail.com>
Thu, 26 Jul 2007 00:31:48 +0000 (00:31 +0000)
src/ajax/ajax.js

index c8e10bd6d7151f48596c6ebbc5cf81d8133f2772..645caf72e4ad2c4fa90145cf08267184ec2c6f18 100644 (file)
@@ -794,7 +794,7 @@ jQuery.extend({
                                // If the value is an array then the key names need to be repeated
                                if ( a[j] && a[j].constructor == Array )
                                        jQuery.each( a[j], function(){
-                                               s.push( encodeURIComponent(j) + "[]=" + encodeURIComponent( this ) );
+                                               s.push( encodeURIComponent(j) + "=" + encodeURIComponent( this ) );
                                        });
                                else
                                        s.push( encodeURIComponent(j) + "=" + encodeURIComponent( a[j] ) );