From: Matthew Wire (MJW Consulting) Date: Wed, 22 Aug 2018 13:16:04 +0000 (+0100) Subject: Comments X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=299cd62ac9b02288ff320ebad6a06219f5d87a53;p=civicrm-core.git Comments --- diff --git a/CRM/Core/BAO/Setting.php b/CRM/Core/BAO/Setting.php index 96a8b7d414..5b89189802 100644 --- a/CRM/Core/BAO/Setting.php +++ b/CRM/Core/BAO/Setting.php @@ -103,7 +103,7 @@ class CRM_Core_BAO_Setting extends CRM_Core_DAO_Setting { } /** - * Store multiple items in the setting table. + * Get multiple items from the setting table. * * @param array $params * (required) An api formatted array of keys and values. diff --git a/api/v3/Setting.php b/api/v3/Setting.php index df4b6a8f59..62a74d270b 100644 --- a/api/v3/Setting.php +++ b/api/v3/Setting.php @@ -313,7 +313,7 @@ function _civicrm_api3_setting_create_spec(&$params) { */ function civicrm_api3_setting_get($params) { $domains = _civicrm_api3_setting_getDomainArray($params); - $result = $result = CRM_Core_BAO_Setting::getItems($params, $domains, CRM_Utils_Array::value('return', $params, array())); + $result = CRM_Core_BAO_Setting::getItems($params, $domains, CRM_Utils_Array::value('return', $params, array())); return civicrm_api3_create_success($result, $params, 'Setting', 'get'); } /**