Commit f6150972 authored by Bill Schaller's avatar Bill Schaller

CS fixes

parent a22c1bf4
......@@ -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