mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-16 14:46:28 +02:00
Merge pull request #3127 from omniError/ticket/13323
[ticket/13323] empty auth option in posting.php
This commit is contained in:
@@ -1161,7 +1161,7 @@ if ($submit || $preview || $refresh)
|
|||||||
break;
|
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.
|
// 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.
|
// Another case would be a mod not having sticky permissions for example but edit permissions.
|
||||||
|
Reference in New Issue
Block a user