Merge pull request #16691 from mattwire/eventcart_cleanup
[civicrm-core.git] / api / v3 / utils.php
index 5b7ed126680a93ff998d96c72ad930c48bbcc33b..65fe0128da644190210b43379f0efa653048b7ef 100644 (file)
@@ -1357,7 +1357,7 @@ function _civicrm_api3_basic_create_fallback($bao_name, &$params) {
 
   CRM_Utils_Hook::pre($hook, $entityName, CRM_Utils_Array::value('id', $params), $params);
   $instance = new $dao_name();
-  $instance->copyValues($params, TRUE);
+  $instance->copyValues($params);
   $instance->save();
   CRM_Utils_Hook::post($hook, $entityName, $instance->id, $instance);