mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Merge "Api: Avoid type error in AbuseLogPrivateDetails"
This commit is contained in:
commit
b231116380
|
@ -124,6 +124,7 @@ class AbuseLogPrivateDetails extends ApiBase {
|
|||
'reason' => [
|
||||
ParamValidator::PARAM_TYPE => 'string',
|
||||
ParamValidator::PARAM_REQUIRED => $this->getConfig()->get( 'AbuseFilterPrivateDetailsForceReason' ),
|
||||
ParamValidator::PARAM_DEFAULT => '',
|
||||
]
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue