Commit f5d8dda2 authored by totten's avatar totten Committed by GitHub

Merge pull request #9874 from totten/master-acttok

(Regression) CRM_Mailing_ActionTokens - Degrade gracefully
parents 897cbaf1 9091e034
......@@ -61,6 +61,13 @@ class CRM_Mailing_ActionTokens extends \Civi\Token\AbstractTokenSubscriber {
));
}
/**
* @inheritDoc
*/
public function checkActive(\Civi\Token\TokenProcessor $processor) {
return !empty($processor->context['mailingId']) || !empty($processor->context['mailing']);
}
/**
* @inheritDoc
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment