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:
d8807da
)
ApiHelp: Fix PHP notice when "wrap" parameter is provided
author
Kevin Israel
<pleasestand@live.com>
Tue, 28 Oct 2014 06:48:49 +0000
(
02:48
-0400)
committer
Kevin Israel
<pleasestand@live.com>
Tue, 28 Oct 2014 07:03:06 +0000
(
03:03
-0400)
An incorrect variable name was used, so the "help" property of
the "help" object in the output was merely encoded as null.
Change-Id: Ia1a8c8ad4515e216998d4975aad3555f87d24380
includes/api/ApiHelp.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiHelp.php
b/includes/api/ApiHelp.php
index
9be2d92
..
88a3df2
100644
(file)
--- a/
includes/api/ApiHelp.php
+++ b/
includes/api/ApiHelp.php
@@
-60,7
+60,7
@@
class ApiHelp extends ApiBase {
if ( $params['wrap'] ) {
$data = array(
'mime' => 'text/html',
- 'help' => $h
elp
,
+ 'help' => $h
tml
,
);
$result->setSubelements( $data, 'help' );
$result->addValue( null, $this->getModuleName(), $data );