Fixed Duplicate resource information

Affected version
2.1.3

kick

Active member
When used in macro xfrm_resource_list_macros arg-extraInfo
With a remote resource, information is duplicated, as it displays 2 times 1 the same text:
HTML:
<xf:if is="{$extraInfo}">
                            <li>{$extraInfo}</li>
                        </xf:if>
And:
HTML:
<xf:if is="$resource.resource_state == 'deleted'">
                    <xf:if is="{$extraInfo}"><span class="structItem-extraInfo">{$extraInfo}</span></xf:if>

                    <xf:macro template="deletion_macros" name="notice" arg-log="{$resource.DeletionLog}" />
                <xf:else />
Thus, information is duplicated 2 times. Either add a status check above in the code or set your state or simply delete a piece of code.
 

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XFRM release (2.1.4).

Change log:
Remove duplicative extra info from displaying when a resource item is deleted.
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top