Details
-
Type: Patch
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.4.alpha
-
Fix Version/s: 3.4.alpha
-
Component/s: Core CiviCRM
-
Labels:None
Description
Currently there are two functions in CRM_Core_BAO_MessageTemplates: sendTemplate and sendReminder. sendTemplate is more general and allows passing over additional template params which is not possible with sendReminder. However, it requires the groupName and valueName of a workflow while sendReminder accepts the id of the template. Since templates added manually don't get a groupName and valueName by default this patch extents the parameters of CRM_Core_BAO_MessageTemplates::send to accept even the messageTemplateID.