]> git.mxchange.org Git - friendica-addons.git/commitdiff
smarty3 variables with a dash need other notation
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 9 Sep 2016 15:54:48 +0000 (17:54 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 9 Sep 2016 15:54:48 +0000 (17:54 +0200)
forumdirectory/templates/forumdirectory_item.tpl

index 5b6a946a1120f659f3afeab136905f6a926df0b2..61b165d71cf695e8992fe341c6d82d50700e3360 100644 (file)
@@ -20,9 +20,9 @@
                                        <span class="city-state-zip">
                                                {{if $profile.locality}}<span class="locality">{{$profile.locality}}</span>, {{/if}}
                                                {{if $profile.region}}<span class="region">{{$profile.region}}</span>{{/if}}
-                                               {{if $profile.postal-code}}<span class="postal-code">{{$profile.postal-code}}</span>{{/if}}
+                                               {{if $profile['postal-code']}}<span class="postal-code">{{$profile['postal-code']}}</span>{{/if}}
                                        </span>
-                                       {{if $profile.country-name}}<span class="country-name">{{$profile.country-name}}</span>{{/if}}
+                                       {{if $profile['country-name']}}<span class="country-name">{{$profile['country-name']}}</span>{{/if}}
                                </dd>
                                </dl>
                        {{/if}}