From 4a3cac0ccbfe932c65de06f6174ec345f816c4d4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 9 Oct 2012 13:20:32 +0200 Subject: [feature/soft-delete] Fix column name in mcp_sorting() PHPBB3-9567 --- phpBB/mcp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/mcp.php') 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; -- cgit v1.2.1