1 parent 6ad740a commit 8a60237Copy full SHA for 8a60237
1 file changed
CRM/Percentagepricesetfield/Form/Settings.php
@@ -178,7 +178,7 @@ private function saveSettings() {
178
public function setDefaultValues() {
179
$result = civicrm_api3('setting', 'get', array('return' => array_keys($this->_settings)));
180
$domainID = CRM_Core_Config::domainID();
181
- $ret = $result['values'][$domainID] ?? NULL;
+ $ret = ($result['values'][$domainID] ?? NULL);
182
return $ret;
183
}
184
0 commit comments