d89f6b Fix deleting custom fields

Authored and Committed by Pierre-Yves Chibon 7 years ago
    Fix deleting custom fields
    
    The way of deleting a custom field is to set it to an empty string.
    With the check on length we were always triggering the exception.
    Instead of that we should just edit/add what was given and remove
    the rest.
    
        
file modified
+5 -4
file modified
+0 -3