systopia / de.systopia.moregreetings

CiviCRM Extension for additional greetings
GNU Affero General Public License v3.0
4 stars 10 forks source link

Register custom Smarty modifiers only once #42

Closed jensschuppe closed 5 months ago

jensschuppe commented 6 months ago

This fixes errors when the code registering modifiers is being called multiple times per request.

[!NOTE] This does not check for whether the modifiers have been registered elsewhere in the Smarty instance.

jaapjansma commented 6 months ago

I can confirm that this PR works!