diff --git a/docs/changelog.txt b/docs/changelog.txt index a47386a..c97e908 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -2,6 +2,7 @@ 1.3.0 Stable [2023/02/28] ============================================================== - moved to last stable with smarty 2 (goffy) + - fixed missing default value smarty (goffy) ============================================================== 1.3.0 RC2 [2023/01/05] diff --git a/templates/wgsimpleacc_balances.tpl b/templates/wgsimpleacc_balances.tpl index 6dff8be..a6f0a45 100644 --- a/templates/wgsimpleacc_balances.tpl +++ b/templates/wgsimpleacc_balances.tpl @@ -35,7 +35,7 @@ <{/if}> <{$balance.from}> - <{$balance.to}> + <{$balance.to|default:''}> <{$balance.amountstart}> <{$balance.amountend}> <{$balance.datecreated}> @@ -77,13 +77,13 @@ <{foreach item=balance from=$balances}> <{$balance.from}> - <{$balance.to}> - <{$balance.asset}> - <{$balance.curid}> + <{$balance.to|default:''}> + <{$balance.asset|default:''}> + <{$balance.curid|default:''}> <{$balance.amountstart}> <{$balance.amountend}> - <{$balance.datecreated}> - <{$balance.submitter}> + <{$balance.datecreated|default:''}> + <{$balance.submitter|default:''}> <{/foreach}>