Fixed bug: Hidden custom fields (for custom forms) losing values when updating preferences.

Credits to @flapuente-palbin
This commit is contained in:
witzig 2017-06-15 19:11:13 +02:00
parent 1d76eefe27
commit 4f5c132db4

View file

@ -414,7 +414,7 @@ module.exports.update = (listId, cid, updates, allowEmail, callback) => {
}
});
fields.getValues(fields.getRow(fieldList, updates, true, true), true).forEach(field => {
fields.getValues(fields.getRow(fieldList, updates, true, true, true), true).forEach(field => {
keys.push(field.key);
values.push(field.value);
});