Logicify / mautic-advanced-templates-bundle

Plugin extends default email template capabilities with TWIG block so you can use advanced scripting techniques like conditions, loops etc
https://logicify.com/?utm_source=github&utm_campaign=mautic-templates&utm_medium=opensource
MIT License
86 stars 57 forks source link

updated findTemplate to use find the correct array key for results #7

Closed InfiniteScripts closed 4 years ago

InfiniteScripts commented 4 years ago

$result = $model->getEntities() used here returns the dynamic content's ID as the key in the result array. Ex: Dynamic content with an ID of 7 is found in $result[7] and all other keys are invalid.