Last modified: 2007-04-17 14:07:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11609, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9609 - includes/SpecialWhatlinkshere.php: Incorrect parameters for Database::select call
includes/SpecialWhatlinkshere.php: Incorrect parameters for Database::select ...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-17 13:52 UTC by Karsten Hiddemann
Modified: 2007-04-17 14:07 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Karsten Hiddemann 2007-04-17 13:52:05 UTC
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' => '...')
Comment 1 Greg Sabino Mullane 2007-04-17 14:07:48 UTC
Thanks, fixed in r21324.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links