E-notice fix on serialized setting
authoreileen <emcnaughton@wikimedia.org>
Mon, 5 Apr 2021 22:18:45 +0000 (10:18 +1200)
committereileen <emcnaughton@wikimedia.org>
Mon, 5 Apr 2021 22:18:45 +0000 (10:18 +1200)
commitc11c73cd3c4b01b416fb4fc181c40b8abca9d808
tree9354554a8d098e23a24c04446ed1fa51bd232794
parent56233cb975c4357840ce8602c55a1a928afd3165
E-notice fix on serialized setting

We do actually support settings declaring defaults for a serialized field as an array rather
than as a serialised string. However, this setting form, if used, will display an
e-notice in that case as it will still try to unserialize - this adds a simple check first
CRM/Admin/Form/SettingTrait.php