Skip to content

Commit

Permalink
- Fix incomplete check in toKeyValue function
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleycho committed Dec 1, 2014
1 parent 81be47f commit c266080
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,7 @@ function parseKeyValue(/**string*/keyValue) {
function toKeyValue(obj) {
var parts = [];
forEach(obj, function(value, key) {
if (value !== null) {
if (value !== null && !isUndefined(value)) {
if (isArray(value)) {
forEach(value, function(arrayValue) {
parts.push(encodeUriQuery(key, true) +
Expand Down

0 comments on commit c266080

Please sign in to comment.