fix enotice
authorDemeritCowboy <demeritcowboy@hotmail.com>
Mon, 19 Aug 2019 18:57:47 +0000 (14:57 -0400)
committerDemeritCowboy <demeritcowboy@hotmail.com>
Mon, 19 Aug 2019 18:57:47 +0000 (14:57 -0400)
CRM/Core/Form/RecurringEntity.php

index 880c4f0b6298a417b10b54d7dca607d0944a611a..4e44aa0d09d3fcb2b59f30c01d62989248666a13 100644 (file)
@@ -343,7 +343,7 @@ class CRM_Core_Form_RecurringEntity {
       $params['entity_id'] = self::$_entityId;
     }
     //Process this function only when you get this variable
-    if ($params['allowRepeatConfigToSubmit'] == 1) {
+    if (CRM_Utils_Array::value('allowRepeatConfigToSubmit', $params) == 1) {
       if (!empty($params['entity_table']) && !empty($params['entity_id']) && $type) {
         $params['used_for'] = $type;
         if (empty($params['parent_entity_id'])) {