aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2008-09-04 14:04:30 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2008-09-04 14:04:30 +0000
commit44416f4744b9a55e35c7945a13759d3e7d71fd3d (patch)
treeedba30967ffbd7e7a0eeddd50fd5be526d357740 /phpBB/includes/functions_convert.php
parent0dbe7e3b6cd450342d3c566eb2caf36ca1b5db8e (diff)
downloadforums-44416f4744b9a55e35c7945a13759d3e7d71fd3d.tar
forums-44416f4744b9a55e35c7945a13759d3e7d71fd3d.tar.gz
forums-44416f4744b9a55e35c7945a13759d3e7d71fd3d.tar.bz2
forums-44416f4744b9a55e35c7945a13759d3e7d71fd3d.tar.xz
forums-44416f4744b9a55e35c7945a13759d3e7d71fd3d.zip
- queue trigger feature
- queued posts do not affect user_posts - show links to MCP + queued posts in ucp and acp git-svn-id: file:///svn/phpbb/trunk@8816 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 7a28cc2665..680ad38adf 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1744,6 +1744,7 @@ function sync_post_count($offset, $limit)
$sql = 'SELECT COUNT(post_id) AS num_posts, poster_id
FROM ' . POSTS_TABLE . '
WHERE post_postcount = 1
+ AND post_approved = 1
GROUP BY poster_id
ORDER BY poster_id';
$result = $db->sql_query_limit($sql, $limit, $offset);