mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Duuuuuh
This commit is contained in:
parent
c7f2cb2488
commit
00b468285a
|
@ -465,7 +465,7 @@ class AbuseFilter {
|
|||
}
|
||||
|
||||
// prevent double warnings
|
||||
if ( count( array_intersect( $actions, $blockingActions ) ) > 0 &&
|
||||
if ( count( array_intersect( array_keys($actions), $blockingActions ) ) > 0 &&
|
||||
!empty( $actions['disallow'] ) ) {
|
||||
unset( $actions['disallow'] );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue