From 2d0917c56e3a29dde5707b382ad0c6725f416996 Mon Sep 17 00:00:00 2001 From: omniError Date: Mon, 10 Nov 2014 17:23:23 -0600 Subject: [ticket/13323] empty auth option in posting.php https://tracker.phpbb.com/browse/PHPBB3-13323 PHPBB3-13323 --- phpBB/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpBB/posting.php b/phpBB/posting.php index 764a16d386..762439007d 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1125,7 +1125,7 @@ if ($submit || $preview || $refresh) break; } - if (!$auth->acl_get($auth_option, $forum_id)) + if ($auth_option != '' && !$auth->acl_get($auth_option, $forum_id)) { // There is a special case where a user edits his post whereby the topic type got changed by an admin/mod. // Another case would be a mod not having sticky permissions for example but edit permissions. -- cgit v1.2.1