1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

"These aren't the droids you're looking for."

git-svn-id: file:///svn/phpbb/trunk@7468 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2007-05-05 05:15:36 +00:00
parent 6fbe97224e
commit eee1dedc13

View File

@ -1529,7 +1529,7 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false,
FROM ' . TOPICS_TABLE . ' t FROM ' . TOPICS_TABLE . ' t
WHERE ' . $db->sql_in_set('t.forum_id', $forum_ids) . ' WHERE ' . $db->sql_in_set('t.forum_id', $forum_ids) . '
AND t.topic_approved = 1 AND t.topic_approved = 1
GROUP BY p.forum_id'; GROUP BY t.forum_id';
} }
$result = $db->sql_query($sql); $result = $db->sql_query($sql);