Added a fix for an undefined param being passed to a load.
This commit is contained in:
parent
a87ecc44b6
commit
27c08b6544
|
@ -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 ) );
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue