Skip to content
Snippets Groups Projects
Commit 5e9c4b7e authored by jaapjansma's avatar jaapjansma
Browse files

load all activity types

parent 5aafa3de
Branches
Tags
No related merge requests found
......@@ -119,7 +119,8 @@ class CRM_Civirules_Utils {
$activityTypeOptionGroupId = self::getOptionGroupIdWithName('activity_type');
$params = array(
'option_group_id' => $activityTypeOptionGroupId,
'is_active' => 1);
'is_active' => 1,
'options' => array('limit' => 0));
$activityTypes = civicrm_api3('OptionValue', 'Get', $params);
foreach ($activityTypes['values'] as $optionValue) {
$activityTypeList[$optionValue['value']] = $optionValue['label'];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment