mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
98213ec03c
Without admin permissions (member of user class 254) it was not possible to delete a post in the forum. This fix add the threadId to the ajax query and fetchs the forum-moderator for the thread which will then checked against the user permissions/classes. I added also an additional error message, if something goes wrong.