1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-05 07:07:51 +02:00

[ticket/13323] empty auth option in posting.php

https://tracker.phpbb.com/browse/PHPBB3-13323

PHPBB3-13323
This commit is contained in:
omniError 2014-11-10 17:23:23 -06:00
parent 6a4cb42565
commit 2d0917c56e

View File

@ -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.