Fixed bb_code_delete Template

Lukas W.

Well-known member
Affected version
2.0.0 Beta 1
Line 9: <strong><a href="{{ link('bb-codes/edit', $site) }}">[{$bbCode.bb_code_id}]</a></strong> should probably use $bbCode instead of $site, otherwise the link displayed on the BBCode deletion confirmation will redirect to an error page.
 
Seems to be still wrong in Beta 2. Clicking on the link in the deletion confirmation of custom bb codes still leads to an error page, cause stuffing $site into the link-builder doesn't create a valid edit link (likely because it's empty).
FlOgdrW.png

XfmUK6Q.png
 
The lack of feedback and the (in my eyes) simple fix made me wonder if you might overlooked it or if information is missing, that's why I wanted to throw a little more input/info in, that's all.
 
Back
Top Bottom