Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c266080

Browse files
committedDec 1, 2014
- Fix incomplete check in toKeyValue function
1 parent 81be47f commit c266080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/Angular.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ function parseKeyValue(/**string*/keyValue) {
10621062
function toKeyValue(obj) {
10631063
var parts = [];
10641064
forEach(obj, function(value, key) {
1065-
if (value !== null) {
1065+
if (value !== null && !isUndefined(value)) {
10661066
if (isArray(value)) {
10671067
forEach(value, function(arrayValue) {
10681068
parts.push(encodeUriQuery(key, true) +

0 commit comments

Comments
 (0)
This repository has been archived.