diff options
author | omniError <omniError@github> | 2014-11-10 17:23:23 -0600 |
---|---|---|
committer | omniError <omniError@github> | 2014-11-10 17:23:23 -0600 |
commit | 2d0917c56e3a29dde5707b382ad0c6725f416996 (patch) | |
tree | 029c24032b70e44f3ddbdf37e387b8b5d267011d | |
parent | 6a4cb42565d7e1663da4d02cd8d624b034b20afe (diff) | |
download | forums-2d0917c56e3a29dde5707b382ad0c6725f416996.tar forums-2d0917c56e3a29dde5707b382ad0c6725f416996.tar.gz forums-2d0917c56e3a29dde5707b382ad0c6725f416996.tar.bz2 forums-2d0917c56e3a29dde5707b382ad0c6725f416996.tar.xz forums-2d0917c56e3a29dde5707b382ad0c6725f416996.zip |
[ticket/13323] empty auth option in posting.php
https://tracker.phpbb.com/browse/PHPBB3-13323
PHPBB3-13323
-rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
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. |