aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-02-07 04:02:00 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-02-07 04:02:00 +0000
commit0fc55efc7d887a07061b52456bfb01e0bc298d9a (patch)
tree4abcf950c5c63eedf3c968d7826ca5a42e940780 /phpBB/includes/functions_convert.php
parent333b3515ed1e94dba1593b2eb3f9fb9d5a1f1440 (diff)
downloadforums-0fc55efc7d887a07061b52456bfb01e0bc298d9a.tar
forums-0fc55efc7d887a07061b52456bfb01e0bc298d9a.tar.gz
forums-0fc55efc7d887a07061b52456bfb01e0bc298d9a.tar.bz2
forums-0fc55efc7d887a07061b52456bfb01e0bc298d9a.tar.xz
forums-0fc55efc7d887a07061b52456bfb01e0bc298d9a.zip
#7698
- small UTF-8 thing git-svn-id: file:///svn/phpbb/trunk@6971 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 08ecd7c5e7..64cb63de3a 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1205,7 +1205,7 @@ function update_folder_pm_count()
$sql = 'SELECT user_id, folder_id, COUNT(msg_id) as num_messages
FROM ' . PRIVMSGS_TO_TABLE . '
WHERE folder_id NOT IN (' . PRIVMSGS_NO_BOX . ', ' . PRIVMSGS_HOLD_BOX . ', ' . PRIVMSGS_INBOX . ', ' . PRIVMSGS_OUTBOX . ', ' . PRIVMSGS_SENTBOX . ')
- GROUP BY folder_id';
+ GROUP BY folder_id, user_id';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))