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
Merge "Remove unused variable in MultiHttpClient CURLOPT_READFUNCTION callback"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiSetPageLanguage.php
diff --git
a/includes/api/ApiSetPageLanguage.php
b/includes/api/ApiSetPageLanguage.php
index
40826ae
..
84ab3ea
100644
(file)
--- a/
includes/api/ApiSetPageLanguage.php
+++ b/
includes/api/ApiSetPageLanguage.php
@@
-80,7
+80,7
@@
class ApiSetPageLanguage extends ApiBase {
$this,
$titleObj,
$params['lang'],
- $params['reason']
=== null ? '' : $params['reason']
,
+ $params['reason']
?? ''
,
$params['tags'] ?: []
);