twomice / com.joineryhq.reltoken

CiviCRM extension: Provides tokens for any related contact, for all available contact tokens. E.g., to get the spouse's first name, or parent's marriage date.
Other
1 stars 5 forks source link

close #3 - avoid unnecessary recursive operation #4

Closed MegaphoneJon closed 5 years ago

MegaphoneJon commented 6 years ago

Mostly I'm adding comments - the only functional change is wrapping the heart of the token generation loop with an if statement.