diff options
author | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-20 14:03:15 +0000 |
---|---|---|
committer | Filipe David Borba Manana <fdmanana@apache.org> | 2010-11-20 14:03:15 +0000 |
commit | 61734a6cd980dfb0ab9bc93f7d28d03bdd9857cc (patch) | |
tree | 1e72e090a2c8adf459d772643e3e7137f7bf4ce2 | |
parent | 6a395d7c9a244282ffb7f8dff02c1b20668dfa03 (diff) |
Merged revision 1037213 from trunk:
Bug fix: using undeclared identifier (doc). The function argument is named obj, not doc.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1037216 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | share/server/util.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/server/util.js b/share/server/util.js index a5dfa127..b1da6d60 100644 --- a/share/server/util.js +++ b/share/server/util.js @@ -98,8 +98,8 @@ var Couch = { // seal() is broken in current Spidermonkey seal(obj); for (var propname in obj) { - if (typeof doc[propname] == "object") { - recursivelySeal(doc[propname]); + if (typeof obj[propname] == "object") { + recursivelySeal(obj[propname]); } } } |