X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FAdmin%2FForm%2FSetting.php;h=2bc9abe2467647c60692d5e551f6688f6794ac4c;hb=752a3cbc3fd578e398ccd3773cc83b93c28805d8;hp=93010df5aec947c905ed345c872731ed37c5d722;hpb=601361a3c6e0fef704fd484a672a48ef24e1b7be;p=civicrm-core.git diff --git a/CRM/Admin/Form/Setting.php b/CRM/Admin/Form/Setting.php index 93010df5ae..2bc9abe246 100644 --- a/CRM/Admin/Form/Setting.php +++ b/CRM/Admin/Form/Setting.php @@ -145,7 +145,7 @@ class CRM_Admin_Form_Setting extends CRM_Core_Form { } try { $settings = $this->getSettingsToSetByMetadata($params); - civicrm_api3('setting', 'create', $settings); + $this->saveMetadataDefinedSettings($params); } catch (CiviCRM_API3_Exception $e) { CRM_Core_Session::setStatus($e->getMessage(), ts('Save Failed'), 'error');