dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
API: Fix missing return in ApiResult::addContentValue()
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiResult.php
diff --git
a/includes/api/ApiResult.php
b/includes/api/ApiResult.php
index
c4a31c7
..
c27b10e
100644
(file)
--- a/
includes/api/ApiResult.php
+++ b/
includes/api/ApiResult.php
@@
-498,7
+498,7
@@
class ApiResult implements ApiSerializable {
throw new InvalidArgumentException( 'Content value must be named' );
}
$this->addContentField( $path, $name, $flags );
- $this->addValue( $path, $name, $value, $flags );
+
return
$this->addValue( $path, $name, $value, $flags );
}
/**