mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
- create forums by default
- hide prune options if not enabled - fixed module management enable/disable switch if in module itself - fixed some schema errors - adjusted $user->page array generation for developers calling scripts outside of phpBB root git-svn-id: file:///svn/phpbb/trunk@5995 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1457,12 +1457,12 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false,
|
||||
switch (SQL_LAYER)
|
||||
{
|
||||
case 'mssql':
|
||||
case 'mssql-odbc':
|
||||
$sql .= 'GROUP BY t.topic_id, t.post_approved';
|
||||
case 'mssql_odbc':
|
||||
$sql .= ' GROUP BY t.topic_id, t.post_approved';
|
||||
break;
|
||||
|
||||
default:
|
||||
$sql .= 'GROUP BY t.topic_id';
|
||||
$sql .= ' GROUP BY t.topic_id';
|
||||
break;
|
||||
}
|
||||
$result = $db->sql_query($sql);
|
||||
|
Reference in New Issue
Block a user