Skip to content

fixes #5: Incorrect argument for tokenValues hook

JonGold requested to merge JonGold/emailapi:hook-fix into master

Here's a fix for #5 (closed). The $contact variable starts in the correct format before $contact = reset($contact) is called early in the function, and first I tried to simply eliminate that line and modify the rest of the function to match. However, it resulted in messier code that would have been far more difficult to review than this approach.

Merge request reports