diff options
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); |