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:
0ea3a0c
)
Don't explicitly check for false. Most modules without params return an empty array...
author
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 7 May 2009 20:02:20 +0000
(20:02 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Thu, 7 May 2009 20:02:20 +0000
(20:02 +0000)
includes/api/ApiBase.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiBase.php
b/includes/api/ApiBase.php
index
4f86832
..
990b8e6
100644
(file)
--- a/
includes/api/ApiBase.php
+++ b/
includes/api/ApiBase.php
@@
-272,7
+272,7
@@
abstract class ApiBase {
*/
public function makeHelpMsgParameters() {
$params = $this->getFinalParams();
- if (
$params !== false
) {
+ if (
$params
) {
$paramsDescription = $this->getFinalParamDescription();
$msg = '';