mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 16:05:00 +02:00
Merge branch '3.1.x'
This commit is contained in:
commit
9d4f52a5eb
@ -1825,7 +1825,7 @@ for ($i = 0, $end = sizeof($post_list); $i < $end; ++$i)
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Only display the quote button if the post is quotable. Posts not approved are not quotable.
|
// Only display the quote button if the post is quotable. Posts not approved are not quotable.
|
||||||
$quote_allowed = ($quote_allowed && $row['post_visibility']) ? true : false;
|
$quote_allowed = ($quote_allowed && $row['post_visibility'] == ITEM_APPROVED) ? true : false;
|
||||||
|
|
||||||
$delete_allowed = $force_delete_allowed || ($user->data['is_registered'] && (
|
$delete_allowed = $force_delete_allowed || ($user->data['is_registered'] && (
|
||||||
($auth->acl_get('m_delete', $forum_id) || ($auth->acl_get('m_softdelete', $forum_id) && $row['post_visibility'] != ITEM_DELETED)) ||
|
($auth->acl_get('m_delete', $forum_id) || ($auth->acl_get('m_softdelete', $forum_id) && $row['post_visibility'] != ITEM_DELETED)) ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user