1
0
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:
Meik Sievertsen
2006-06-01 13:47:42 +00:00
parent 4354cda6dc
commit 721a9dd4a1
22 changed files with 172 additions and 65 deletions

View File

@@ -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);