Fix usage of the `{icon}` template function
authorAlexander Ebert <ebert@woltlab.com>
Wed, 24 Aug 2022 13:33:22 +0000 (15:33 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 24 Aug 2022 13:33:22 +0000 (15:33 +0200)
com.woltlab.wcf/templates/articleList.tpl

index fc76578160e97402168ac620bd428b4e5948bcf2..2334f0b337f241a1161cf86758ad2c17033f4b1c 100644 (file)
@@ -77,9 +77,9 @@
                                        {lang}wcf.global.title{/lang}
                                        {if $sortField == 'title'}
                                                {if $sortOrder === 'ASC'}
-                                                       {icon size=16 name='caret-up' solid}
+                                                       {icon size=16 name='caret-up' type='solid'}
                                                {else}
-                                                       {icon size=16 name='caret-down' solid}
+                                                       {icon size=16 name='caret-down' type='solid'}
                                                {/if}
                                        {/if}
                                </a>
@@ -89,9 +89,9 @@
                                        {lang}wcf.global.date{/lang}
                                        {if $sortField == 'time'}
                                                {if $sortOrder === 'ASC'}
-                                                       {icon size=16 name='caret-up' solid}
+                                                       {icon size=16 name='caret-up' type='solid'}
                                                {else}
-                                                       {icon size=16 name='caret-down' solid}
+                                                       {icon size=16 name='caret-down' type='solid'}
                                                {/if}
                                        {/if}
                                </a>