mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +02:00
Merge branch '3.1.x'
* 3.1.x: [ticket/14186] Do correct string concatenation in phpbb_mcp_sorting()
This commit is contained in:
commit
85718e63f1
@ -389,7 +389,7 @@ function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by
|
|||||||
|
|
||||||
if (!$auth->acl_get('m_approve', $forum_id))
|
if (!$auth->acl_get('m_approve', $forum_id))
|
||||||
{
|
{
|
||||||
$sql .= 'AND topic_visibility = ' . ITEM_APPROVED;
|
$sql .= ' AND topic_visibility = ' . ITEM_APPROVED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -405,7 +405,7 @@ function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by
|
|||||||
|
|
||||||
if (!$auth->acl_get('m_approve', $forum_id))
|
if (!$auth->acl_get('m_approve', $forum_id))
|
||||||
{
|
{
|
||||||
$sql .= 'AND post_visibility = ' . ITEM_APPROVED;
|
$sql .= ' AND post_visibility = ' . ITEM_APPROVED;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user