Fix invalid box edit controller in frontend boxes
authorJoshua Rüsweg <josh@bastelstu.be>
Fri, 22 Jun 2018 14:27:39 +0000 (16:27 +0200)
committerJoshua Rüsweg <josh@bastelstu.be>
Fri, 22 Jun 2018 14:27:39 +0000 (16:27 +0200)
See #2575

com.woltlab.wcf/templates/__box.tpl

index 1369d3983013c7f4cb667f6d16236d857c2c3ae8..dc4d0dd5a7d07a77c14154a3194eb91d46210adf 100644 (file)
@@ -1,6 +1,6 @@
 <{if $box->showHeader}section{else}div{/if} class="box{if $box->getImage()} boxWithImage{/if}{if $box->showEditButton()} boxWithEditButton{/if}{if $box->cssClassName} {$box->cssClassName}{/if}" data-box-identifier="{@$box->identifier}">
        {if $box->showEditButton()}
-               <a href="{link controller='Box' id=$box->boxID isACP=true}{/link}" class="boxEditButton"><span class="icon icon16 fa-pencil-square-o"></span></a>
+               <a href="{link controller='BoxEdit' id=$box->boxID isACP=true}{/link}" class="boxEditButton"><span class="icon icon16 fa-pencil-square-o"></span></a>
        {/if}
        {if $box->getImage()}
                <div class="boxImage">