r95955 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r95954
|
r95955
|
r95956
>
Date:
10:05, 1 September 2011
Author:
krinkle
Status:
ok
Tags:
Comment:
Follows-up
r95954
: Fix case &ganames& and &ganames=&. Falsey is not enough, empty string or empty array should be used as 'has filter, no titles'
Modified paths:
/branches/RL2/extensions/Gadgets/api/ApiQueryGadgets.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/RL2/extensions/Gadgets/api/ApiQueryGadgets.php
—
—
@@ -53,7 +53,7 @@
54
54
$repo = new LocalGadgetRepo( array() );
55
55
$result = array();
56
56
57
- if ( $this->neededNames ) {
57
+ if ( $this->neededNames !== false ) {
58
58
// Get all requested gadgets by name
59
59
$names = $this->neededNames;
60
60
} else {
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r95954
RL2: Hopefully fix bug Timo reported in list=gadgets: names parameter broken
catrope
09:56, 1 September 2011
Status & tagging log
11:51, 5 September 2011
Catrope
(
talk
|
contribs
)
changed the
status
of r95955
[
removed:
new
added:
ok]