From c2660804b36f3aa719d98314a1f8532d8b71a535 Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Sun, 30 Nov 2014 23:10:29 -0800 Subject: [PATCH] - Fix incomplete check in toKeyValue function --- src/Angular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Angular.js b/src/Angular.js index 4b9279070417..f4b9f42f1b45 100644 --- a/src/Angular.js +++ b/src/Angular.js @@ -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) +