menatwork-ia / registration_info_mailer

Contao Extension :: Mailer for registration and activation of frontend member
https://packagist.org/packages/menatwork/registration_info_mailer
1 stars 2 forks source link

Always replace rim insert tag #11

Closed fritzmg closed 1 year ago

fritzmg commented 2 years ago

Currently there can be a lot of

Unknown insert tag {{rim::xyz}} on page …

system log entries when using the {{rim::*}} insert tag, because the hook implementation returns false in case no data has been set or the provided attribute does not exist. However, insert tags must always be replaced (to avoid this message). This PR fixes that by always replacing the insert tag (with an empty string otherwise not applicable).