Author: mediawiki-bugzilla
Description:
In the function showIndirectLinks() the variable $options is initialised in
three different ways. This variable is then passed as parameter to
Database::select() later on. Database::select(), however, expects the $options
parameter to be an associative array, which it isn't in any of these cases. As a
result, these options are ignored in the actual database call.
Fix: replace array('ORDER BY ...') with array('ORDER BY' => '...')
Version: unspecified
Severity: minor