1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 20:44:01 +01:00

Merge branch '3.1.x'

* 3.1.x:
  [ticket/14186] Do correct string concatenation in phpbb_mcp_sorting()
This commit is contained in:
Andreas Fischer 2015-09-22 19:14:34 +02:00
commit 85718e63f1

View File

@ -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))
{
$sql .= 'AND topic_visibility = ' . ITEM_APPROVED;
$sql .= ' AND topic_visibility = ' . ITEM_APPROVED;
}
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))
{
$sql .= 'AND post_visibility = ' . ITEM_APPROVED;
$sql .= ' AND post_visibility = ' . ITEM_APPROVED;
}
break;