diff options
Diffstat (limited to 'share')
-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]); } } } |