Connection: convert `bodies` specifiers to strings before parsing

fork
Brian White 10 years ago
parent dd0c007003
commit a607d1edae

@ -766,7 +766,7 @@ Connection.prototype._fetch = function(which, uids, options) {
if (!Array.isArray(bodies))
bodies = [bodies];
for (i = 0, len = bodies.length; i < len; ++i) {
fetching.push(parseExpr(bodies[i]));
fetching.push(parseExpr(''+bodies[i]));
cmd += ' BODY' + prefix + '[' + bodies[i] + ']';
}
}

Loading…
Cancel
Save