diff --git a/app/soapbox/features/edit_profile/index.js b/app/soapbox/features/edit_profile/index.js index bcb3d71ea..41a32419b 100644 --- a/app/soapbox/features/edit_profile/index.js +++ b/app/soapbox/features/edit_profile/index.js @@ -114,7 +114,7 @@ class EditProfile extends ImmutablePureComponent { let formData = new FormData(); for (let key in data) { // Compact the submission. This should probably be done better. - const shouldAppend = Boolean(data[key] || key.startsWith('fields_attributes')); + const shouldAppend = Boolean(data[key] !== undefined || key.startsWith('fields_attributes')); if (shouldAppend) formData.append(key, data[key] || ''); } return formData;