aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-10-09 13:20:32 +0200
committerJoas Schilling <nickvergessen@gmx.de>2012-10-09 13:20:32 +0200
commit4a3cac0ccbfe932c65de06f6174ec345f816c4d4 (patch)
tree6da1c413f1eba7e8175a23703db52872e3c8715b /phpBB/mcp.php
parent[feature/soft-delete] Correctly update user_posts count (diff)
downloadphpbb-4a3cac0ccbfe932c65de06f6174ec345f816c4d4.tar.gz
phpbb-4a3cac0ccbfe932c65de06f6174ec345f816c4d4.tar.bz2
phpbb-4a3cac0ccbfe932c65de06f6174ec345f816c4d4.zip
[feature/soft-delete] Fix column name in mcp_sorting()
PHPBB3-9567
Diffstat (limited to 'phpBB/mcp.php')
-rw-r--r--phpBB/mcp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/mcp.php b/phpBB/mcp.php
index 9877c469b9..d1ca26326a 100644
--- a/phpBB/mcp.php
+++ b/phpBB/mcp.php
@@ -619,7 +619,7 @@ function mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by_sql,
if (!$auth->acl_get('m_approve', $forum_id))
{
- $sql .= 'AND post_visibility = ' . ITEM_APPROVED;
+ $sql .= 'AND topic_visibility = ' . ITEM_APPROVED;
}
break;