aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-05-05 05:15:36 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-05-05 05:15:36 +0000
commiteee1dedc13627283dfc1cfc5aa00f769fa061df7 (patch)
tree3752e2b490c8bb7506c0221555e536fc812a762a /phpBB/includes/functions_admin.php
parent6fbe97224e1ddb7b461fec43ab6bff02fdf94e9c (diff)
downloadforums-eee1dedc13627283dfc1cfc5aa00f769fa061df7.tar
forums-eee1dedc13627283dfc1cfc5aa00f769fa061df7.tar.gz
forums-eee1dedc13627283dfc1cfc5aa00f769fa061df7.tar.bz2
forums-eee1dedc13627283dfc1cfc5aa00f769fa061df7.tar.xz
forums-eee1dedc13627283dfc1cfc5aa00f769fa061df7.zip
"These aren't the droids you're looking for."
git-svn-id: file:///svn/phpbb/trunk@7468 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 7e6e097571..51a45166ba 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -1529,7 +1529,7 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false,
FROM ' . TOPICS_TABLE . ' t
WHERE ' . $db->sql_in_set('t.forum_id', $forum_ids) . '
AND t.topic_approved = 1
- GROUP BY p.forum_id';
+ GROUP BY t.forum_id';
}
$result = $db->sql_query($sql);