diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-01 13:47:42 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-06-01 13:47:42 +0000 |
commit | 721a9dd4a146a08f26866196d8a347c7aad57274 (patch) | |
tree | 181f0955fd519718bc30274d226e4ddd108a7242 /phpBB/includes/functions_admin.php | |
parent | 4354cda6dc695806dc01fdad1e4d11b2749ee9d4 (diff) | |
download | forums-721a9dd4a146a08f26866196d8a347c7aad57274.tar forums-721a9dd4a146a08f26866196d8a347c7aad57274.tar.gz forums-721a9dd4a146a08f26866196d8a347c7aad57274.tar.bz2 forums-721a9dd4a146a08f26866196d8a347c7aad57274.tar.xz forums-721a9dd4a146a08f26866196d8a347c7aad57274.zip |
- 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
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index ea3c41f08b..d4eb271260 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -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); |