Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.3.2
-
Fix Version/s: 3.3.3
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
This looks like a bug (untested, I'm afraid) because both entries in the array have the same key. It looks from civicrm_rules_action_info as if the second key should be 'mailing'.
/**
- Implementation of hook_rules_data_type_info().
*/
function civicrm_rules_data_type_info() {
return array(
'contact' => array(
'label' => t('Contact'),
'class' => 'rules_data_type_contact',
'savable' => FALSE,
'identifiable' => TRUE,
),
'contact' => array(
'label' => t('Mailing'),
'class' => 'rules_data_type_mailing',
'savable' => FALSE,
),
);
}