1
0
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:
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)) 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;