diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index e07f8eb4d8..225a7e7fa5 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -1426,8 +1426,9 @@ function cache_moderators() break; case 'mssql': + case 'sqlite': $sql = 'INSERT INTO ' . MODERATOR_TABLE . ' (forum_id, user_id, username, group_id, groupname) - VALUES ' . implode(' UNION ALL ', preg_replace('#^(.*)$#', 'SELECT \1', $m_sql)); + ' . implode(' UNION ALL ', preg_replace('#^(.*)$#', 'SELECT \1', $m_sql)); $db->sql_query($sql); break;