r44864 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r44863
|
r44864
|
r44865
>
Date:
00:21, 21 December 2008
Author:
catrope
Status:
ok
Tags:
Comment:
API: Fix weird ==/=== bug in API help: a possible value of zero is interpreted as "can be empty".
Modified paths:
/trunk/phase3/includes/api/ApiBase.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/api/ApiBase.php
—
—
@@ -265,7 +265,7 @@
266
266
$choices = array();
267
267
$nothingPrompt = false;
268
268
foreach ($type as $t)
269
- if ($t=='')
269
+ if ($t === '')
270
270
$nothingPrompt = 'Can be empty, or ';
271
271
else
272
272
$choices[] = $t;
Status & tagging log
00:48, 21 December 2008
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r44864
[
removed:
new
added:
ok]