mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue