From 184e9b56cef0509ea7263c9a46b9352e8abf3aff Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Fri, 9 Sep 2016 17:54:48 +0200 Subject: [PATCH] smarty3 variables with a dash need other notation --- forumdirectory/templates/forumdirectory_item.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forumdirectory/templates/forumdirectory_item.tpl b/forumdirectory/templates/forumdirectory_item.tpl index 5b6a946a..61b165d7 100644 --- a/forumdirectory/templates/forumdirectory_item.tpl +++ b/forumdirectory/templates/forumdirectory_item.tpl @@ -20,9 +20,9 @@ {{if $profile.locality}}{{$profile.locality}}, {{/if}} {{if $profile.region}}{{$profile.region}}{{/if}} - {{if $profile.postal-code}}{{$profile.postal-code}}{{/if}} + {{if $profile['postal-code']}}{{$profile['postal-code']}}{{/if}} - {{if $profile.country-name}}{{$profile.country-name}}{{/if}} + {{if $profile['country-name']}}{{$profile['country-name']}}{{/if}} {{/if}} -- 2.39.5