Skip to content

Commit 0daec7a

Browse files
authored
Merge pull request #96 from ggoffy/master
fixed missing default value smarty
2 parents b040f33 + 2daff63 commit 0daec7a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
1.3.0 Stable [2023/02/28]
33
==============================================================
44
- moved to last stable with smarty 2 (goffy)
5+
- fixed missing default value smarty (goffy)
56

67
==============================================================
78
1.3.0 RC2 [2023/01/05]

templates/wgsimpleacc_balances.tpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<{/if}>
3636
</td>
3737
<td><{$balance.from}></td>
38-
<td><{$balance.to}></td>
38+
<td><{$balance.to|default:''}></td>
3939
<td><{$balance.amountstart}></td>
4040
<td><{$balance.amountend}></td>
4141
<td><{$balance.datecreated}></td>
@@ -77,13 +77,13 @@
7777
<{foreach item=balance from=$balances}>
7878
<tr>
7979
<td><{$balance.from}></td>
80-
<td><{$balance.to}></td>
81-
<td><{$balance.asset}></td>
82-
<td><{$balance.curid}></td>
80+
<td><{$balance.to|default:''}></td>
81+
<td><{$balance.asset|default:''}></td>
82+
<td><{$balance.curid|default:''}></td>
8383
<td><{$balance.amountstart}></td>
8484
<td><{$balance.amountend}></td>
85-
<td><{$balance.datecreated}></td>
86-
<td><{$balance.submitter}></td>
85+
<td><{$balance.datecreated|default:''}></td>
86+
<td><{$balance.submitter|default:''}></td>
8787
</tr>
8888
<{/foreach}>
8989
<tr>

0 commit comments

Comments
 (0)