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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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