Commit e4a9c025 authored by Bill Schaller's avatar Bill Schaller Committed by Steve Müller

CS fixes

parent f01e19f9
......@@ -1216,11 +1216,12 @@ class SQLServerPlatform extends AbstractPlatform
*
* @param $query
* @return string
*
*/
private function scrubInnerOrderBy($query) {
private function scrubInnerOrderBy($query)
{
$count = substr_count(strtoupper($query), "ORDER BY");
$offset = 0;
while ($count-- > 0) {
$qLen = strlen($query);
$orderByPos = stripos($query, " ORDER BY", $offset);
......
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