Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.4.4
-
Fix Version/s: Unscheduled
-
Component/s: None
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Tthe token gets called from pdf but it doesn't know what token it is being called on. The best thing I can think of without a major refactor (over-due but not today) of token code is to allow the calling function to pass in additional params to CRM_Utils_Token::getTokenDetails which is the function responsible for 'filling out' the token details - including calling other functions. That way it could merge the passed params for each contact into the retrieved params before calling the hook