Commit 65d063d0 authored by Tristan Cavelier's avatar Tristan Cavelier

gidstorage returns undefined fix

parent a9580e1b
...@@ -600,7 +600,7 @@ ...@@ -600,7 +600,7 @@
*/ */
that.allDocs = function (command, param, options) { that.allDocs = function (command, param, options) {
/*jslint unparam: true */ /*jslint unparam: true */
var include_docs, limit_start, limit_length, rows, end, i = 0; var include_docs, limit_start, limit_length, rows = [], end, i = 0;
include_docs = options.include_docs; include_docs = options.include_docs;
options.include_docs = true; options.include_docs = true;
...@@ -650,11 +650,7 @@ ...@@ -650,11 +650,7 @@
} }
} }
} }
if (rows) { arrayExtend(rows, result);
arrayExtend(rows, result);
} else {
rows = result;
}
}); });
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment