cast label to string

fork
Sagar Mehta 11 years ago
parent da39636f3c
commit 9ad3011c83

@ -335,7 +335,7 @@ ImapConnection.prototype.connect = function(loginCb) {
if (details['x-gm-labels'] !== undefined) {
var labels = details['x-gm-labels'];
for (var i=0, len=labels.length; i<len; ++i)
labels[i] = labels[i].replace(RE_ESCAPE, '\\');
labels[i] = ('' + labels[i]).replace(RE_ESCAPE, '\\')
}
if (isUnsolicited)

Loading…
Cancel
Save