mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Added a fix for an undefined param being passed to a load.
This commit is contained in:
@@ -799,7 +799,7 @@ jQuery.extend({
|
||||
// Serialize the key/values
|
||||
for ( var j in a )
|
||||
// If the value is an array then the key names need to be repeated
|
||||
if ( a[j].constructor == Array )
|
||||
if ( a[j] && a[j].constructor == Array )
|
||||
jQuery.each( a[j], function(){
|
||||
s.push( encodeURIComponent(j) + "=" + encodeURIComponent( this ) );
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user