summaryrefslogtreecommitdiff
path: root/share/server/util.js
diff options
context:
space:
mode:
authorFilipe David Borba Manana <fdmanana@apache.org>2010-11-20 14:02:45 +0000
committerFilipe David Borba Manana <fdmanana@apache.org>2010-11-20 14:02:45 +0000
commiteb5f9bf94e98b885c633491a643fbb452b6b3bde (patch)
tree124485aafd264a58e7c3af2987dab68d485a8392 /share/server/util.js
parentc39629cfa9151bb1776b296f22adf87bcd00b6af (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.0.x@1037215 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server/util.js')
-rw-r--r--share/server/util.js4
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]);
}
}
}