mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Merge "Cast filter id to integer in AbuseLogPrivateDetails output"
This commit is contained in:
commit
1e105c8821
|
@ -104,7 +104,7 @@ class AbuseLogPrivateDetails extends ApiBase {
|
|||
$result = [
|
||||
'log-id' => $params['logid'],
|
||||
'user' => $row->afl_user_text,
|
||||
'filter-id' => $row->af_id,
|
||||
'filter-id' => (int)$row->af_id,
|
||||
'filter-description' => $row->af_public_comments,
|
||||
'ip-address' => $row->afl_ip !== '' ? $row->afl_ip : null
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue