https://bugzilla.wikimedia.org/show_bug.cgi?id=43533

--- Comment #13 from Roy Olsen <[email protected]> ---
Oh, I missed a spot, $ob must be returned instead of $options['ORDER BY']:

[roy@lonora02 db]# diff DatabaseOracle.php DatabaseOracle.php.orig 
1165,1168c1165
<                        $ob = is_array( $options['GROUP BY'] )
<                                 ? implode( ',', $options['GROUP BY'] )
<                                 : $options['GROUP BY'];
<             $preLimitTail .= " GROUP BY {$ob}";
---
>                       $preLimitTail .= " GROUP BY {$options['GROUP BY']}";
1171,1174c1168
<                        $ob = is_array( $options['ORDER BY'] )
<                                 ? implode( ',', $options['ORDER BY'] )
<                                 : $options['ORDER BY'];
<             $preLimitTail .= " ORDER BY {$ob}";
---
>                       $preLimitTail .= " ORDER BY {$options['ORDER BY']}";

I don't know the first thing about coding in php, but this worked for me :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to