dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ddef7e
)
API: Fix weird ==/=== bug in API help: a possible value of zero is interpreted as...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 21 Dec 2008 00:21:01 +0000
(
00:21
+0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 21 Dec 2008 00:21:01 +0000
(
00:21
+0000)
includes/api/ApiBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
ff9129c
..
a94464c
100644
(file)
--- a/
includes/api/ApiBase.php
+++ b/
includes/api/ApiBase.php
@@
-265,7
+265,7
@@
abstract class ApiBase {
$choices = array();
$nothingPrompt = false;
foreach ($type as $t)
- if ($t
==
'')
+ if ($t
===
'')
$nothingPrompt = 'Can be empty, or ';
else
$choices[] = $t;