Approve/unapprove threads moderator permission broken #2592
Labels
b:1.8
Branch: 1.8.x
s:resolved
Status: Resolved. Solution implemented or scheduled
t:bug
Type: Bug. An issue causing error / flaw / malfunction
Milestone
When adding a moderator, there are two options:
Can approve/unapprove threads?
Can approve/unapprove posts?
However, enabling the setting to (un)approve threads does not show the option to (un)approve threads on the forum display, instead it checks the posts setting:
PHP Code:if(is_moderator($fid, "canapproveunapproveposts")){ eval("\$inlinemodapproveunapprove = \"".$templates->get("forumdisplay_inlinemoderation_approveunapprove")."\";");}
So basically, you can only (un)approve threads, if you have the permission to (un)approve posts. The check in forumdisplay.php should check canapproveunapprovethreads instead. The check in showthread.php seems fine.
Original thread: Approve/unapprove threads moderator permission broken
The text was updated successfully, but these errors were encountered: