From d8062763355cbf4e6e464e5062ff53aa706bd266 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Mon, 22 Feb 2016 17:09:20 +0100 Subject: [PATCH] Allow admins to post even if not enough RAC [skip-ci] --- html/inc/forum.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/html/inc/forum.inc b/html/inc/forum.inc index 8f22ef3dc5..05d92f4a37 100644 --- a/html/inc/forum.inc +++ b/html/inc/forum.inc @@ -1164,6 +1164,8 @@ function user_can_create_thread($user, $forum) { } function check_post_access($user, $forum) { + if (is_admin($user)) return; + switch ($forum->parent_type) { case 0: if ($user->prefs->privilege(S_MODERATOR)) return;