Commit 2b8f1720 authored by jaapjansma's avatar jaapjansma
Browse files

Fixed issue with importing Rule Groups and rules based on custom fields.

parent 78c74059
# Version 1.3.4
* Fixed issue with importing Rule Groups and rules based on custom fields.
# Version 1.3.3
* Fixed issue with importing custom fields for sub types such as Participant by Event Type.
......
......@@ -58,7 +58,7 @@ class CRM_Civiconfig_Entity_Rule extends CRM_Civiconfig_Entity {
* @param array $params
* @return array|boolean
*/
public function getExisting(array $params) {
public function getExisting(array &$params) {
if (isset($params['custom_group'])) {
$params['rule_table'] = civicrm_api3('CustomGroup', 'getvalue', ['name' => $params['custom_group'], 'return' => 'table_name']);
if (empty($params['custom_field'])) {
......
......@@ -14,8 +14,8 @@
<url desc="Support">https://www.civicoop.org</url>
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2021-07-15</releaseDate>
<version>1.3.3</version>
<releaseDate>2021-07-24</releaseDate>
<version>1.3.4</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.28</ver>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment