Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support null values in arrays in reply_to_strings()

  • Loading branch information...
commit 229be2068cf0db44ce7ec3139b3f8c2e3f3fc587 1 parent a5dc989
@shin- shin- authored brycebaril committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -551,7 +551,7 @@ function reply_to_strings(reply) {
if (Array.isArray(reply)) {
for (i = 0; i < reply.length; i++) {
- reply[i] = reply[i].toString();
+ reply[i] = reply[i] ? reply[i].toString() : reply[i];
}
return reply;
}
Please sign in to comment.
Something went wrong with that request. Please try again.