Fixed usage of undefined method
authorMarcel Werk <burntime@woltlab.com>
Sun, 19 Jun 2016 21:59:59 +0000 (23:59 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 19 Jun 2016 21:59:59 +0000 (23:59 +0200)
wcfsetup/install/files/acp/templates/menuItemList.tpl

index 6bf2ce760e2fee9c2e344ef5697614e1f02bc2b7..b6be3c223a5c8f2c96b79bada922cad89f8732db 100644 (file)
@@ -41,7 +41,7 @@
                                                                {/if}
                                                                <a href="{link controller='MenuItemEdit' id=$menuItemNode->itemID}{/link}" class="jsTooltip" title="{lang}wcf.global.button.edit{/lang}"><span class="icon icon16 fa-pencil"></span></a>
                                                                {if $menuItemNode->canDelete()}
-                                                                       <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$menuItemNode->itemID}" data-confirm-message="{lang menuItem=$menuItemNode->getMenuItem()}wcf.acp.menu.item.delete.confirmMessage{/lang}"></span>
+                                                                       <span class="icon icon16 fa-times jsDeleteButton jsTooltip pointer" title="{lang}wcf.global.button.delete{/lang}" data-object-id="{@$menuItemNode->itemID}" data-confirm-message="{lang menuItem=$menuItemNode->getDecoratedObject()}wcf.acp.menu.item.delete.confirmMessage{/lang}"></span>
                                                                {else}
                                                                        <span class="icon icon16 fa-times disabled" title="{lang}wcf.global.button.delete{/lang}"></span>
                                                                {/if}