If the first if matches then the second if can never match.
Change-Id: I96d59b57cac414c9ee7008e2f284a7a4e3348f3f
} else {
parameters[ key ] = '\x1f' + parameters[ key ].join( '\x1f' );
}
- }
- // Boolean values are only false when not given at all
- if ( parameters[ key ] === false || parameters[ key ] === undefined ) {
+ } else if ( parameters[ key ] === false || parameters[ key ] === undefined ) {
+ // Boolean values are only false when not given at all
delete parameters[ key ];
}
}