Forum: Fix forum edit post access for coach in session - refs BT#22059

pull/5868/head
NicoDucou 1 month ago
parent c18706b82d
commit f7e80c168e
  1. 2
      public/main/forum/editpost.php

@ -213,7 +213,7 @@ if (!api_is_allowed_to_create_course() &&
( (
(false === $categoryIsVisible) || (false === $categoryIsVisible) ||
false === $forumIsVisible false === $forumIsVisible
) ) && (!api_is_course_admin())
) { ) {
api_not_allowed(true); api_not_allowed(true);
} }

Loading…
Cancel
Save