aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-11-21 23:33:45 +0100
committerJoas Schilling <nickvergessen@gmx.de>2014-11-21 23:33:45 +0100
commit2e2ab7b485f76ab4000b5d8c47c846ff44c10a33 (patch)
treed4c2907cdd5764f30daf21a86e6b0aea32bae0a1
parent0017fad554ca5dd1ad6ba6910bb12152b99fcbd3 (diff)
parent2d0917c56e3a29dde5707b382ad0c6725f416996 (diff)
downloadforums-2e2ab7b485f76ab4000b5d8c47c846ff44c10a33.tar
forums-2e2ab7b485f76ab4000b5d8c47c846ff44c10a33.tar.gz
forums-2e2ab7b485f76ab4000b5d8c47c846ff44c10a33.tar.bz2
forums-2e2ab7b485f76ab4000b5d8c47c846ff44c10a33.tar.xz
forums-2e2ab7b485f76ab4000b5d8c47c846ff44c10a33.zip
Merge pull request #3127 from omniError/ticket/13323
[ticket/13323] empty auth option in posting.php
-rw-r--r--phpBB/posting.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 4c32276d17..dda7455845 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1161,7 +1161,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.