This commit is contained in:
Andrew Garrett 2009-03-16 23:47:10 +00:00
parent c7f2cb2488
commit 00b468285a

View file

@ -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'] );
}