Merge pull request #22188 from totten/master-uninstall
[civicrm-core.git] / CRM / Core / BAO / CustomGroup.php
index 0c48e87afe4c6f65c80f1de25b7e0b4a6f368738..8baa7f6bd7c92e62347eefbab51be995349ebb87 100644 (file)
@@ -1827,7 +1827,7 @@ SELECT IF( EXISTS(SELECT name FROM civicrm_contact_type WHERE name like %1), 1,
       $expectedProperties = ['options_per_line', 'help_pre', 'help_post'];
       // add field information
       foreach ($value['fields'] as $k => $properties) {
-        $properties = array_merge(array_fill_keys($expectedProperties, 'NULL'), $properties);
+        $properties = array_merge(array_fill_keys($expectedProperties, NULL), $properties);
         $properties['element_name'] = "custom_{$k}_-{$groupCount}";
         if (isset($properties['customValue']) &&
           !CRM_Utils_System::isNull($properties['customValue']) &&