Fix custom field edit form to set serialization correctly
authorColeman Watts <coleman@civicrm.org>
Mon, 16 Aug 2021 21:53:13 +0000 (17:53 -0400)
committerColeman Watts <coleman@civicrm.org>
Tue, 17 Aug 2021 02:29:03 +0000 (22:29 -0400)
commit0b73427c99e5abc53f26b5f85190a61ac1208fc4
tree5ebacafa6e1aba2270ebdebd0f55f8ccf209e672
parent45917880e309fb7d3cb7088af07eb81dad8e5616
Fix custom field edit form to set serialization correctly

The custom_field.serialize column is NOT NULL in the database,
so setting it to null on the form is incorrect.
Fixes dev/core#2762
CRM/Custom/Form/Field.php
tests/phpunit/CRM/Custom/Form/FieldTest.php