Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed problem when key was 0

  • Loading branch information...
commit c1108ff8a91b8438c91f0cf08dd3fcf454873f49 1 parent acba5d3
Daniel Leinich authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 lib/mailchimp/helpers.js
4 lib/mailchimp/helpers.js
@@ -8,7 +8,9 @@
8 8 var serialize = module.exports.serialize = function (value, key) {
9 9
10 10 var output;
11   - key || (key = '');
  11 +
  12 + if (!key && key !== 0)
  13 + key = '';
12 14
13 15 if (Array.isArray(value)) {
14 16 output = [];

0 comments on commit c1108ff

Please sign in to comment.
Something went wrong with that request. Please try again.