Skip to content

Commit d5ef55e

Browse files
committed
fix: only print postcodeCity once in profile view
1 parent c6fcf7a commit d5ef55e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

themes/simple/templates/modules/profile.view.basic-informations.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</div>
3939
</div>
4040
{/if}
41-
{elseif {$profileField.id} == 'STREET' || {$profileField.id} == 'POSTCODE' || {$profileField.id} == 'CITY' || {$profileField.id} == 'COUNTRY'}
41+
{elseif {$profileField.id} == 'STREET' || {$profileField.id} == 'postcodeCity' || {$profileField.id} == 'COUNTRY'}
4242
{if $showAddress}
4343
{$showAddress = false}
4444
<div class="admidio-form-group row mb-3">
@@ -50,7 +50,7 @@
5050
{$masterData.STREET.value}<br />
5151
{/if}
5252

53-
{if $masterData.POSTCODE.value !== '' || $masterData.CITY.value !== ''}
53+
{if $masterData.postcodeCity.value !== ''}
5454
{$masterData.postcodeCity.value}<br />
5555
{/if}
5656

0 commit comments

Comments
 (0)