Commit a5fe5687 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Fix whitespace problem in last fix

parent b7396d60
......@@ -596,7 +596,7 @@ class MsSqlPlatform extends AbstractPlatform
}
if ($offset == 0) {
$query = preg_replace('/^(SELECT\s(DISTINCT)?)/i', '\1 TOP ' . $count . ' ', $query);
$query = preg_replace('/^(SELECT\s(DISTINCT\s)?)/i', '\1TOP ' . $count . ' ', $query);
} else {
$orderby = stristr($query, 'ORDER BY');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment