Use field value function to get html signature
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 10 Jan 2022 02:37:23 +0000 (15:37 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 10 Jan 2022 02:37:26 +0000 (15:37 +1300)
commitf4aa1bee4994cec98ce509a0d2d33a3af592fd68
tree0a03bd6ced9767e5a95f73a92b40065a4538a2ea
parentcc684ffef556ef46a0b02bdac19cb7a236dfb057
Use field value function to get html signature

The  function is used for all other tokens on the contact object and will better access
the right value and return an empty string rather NULL if not set.

I hit this as an enotice writing a test - but it is possibly the cause of this issue
https://github.com/eileenmcnaughton/nz.co.fuzion.civitoken/issues/58#issuecomment-966611004

hence targetting the rc

The tokens() function does weird things if you pass it NULL
CRM/Contact/Tokens.php