diff --git a/includes/AbuseFilter.php b/includes/AbuseFilter.php index 878a9ff91..76dd652c9 100644 --- a/includes/AbuseFilter.php +++ b/includes/AbuseFilter.php @@ -807,7 +807,7 @@ class AbuseFilter { * @return string|bool */ public static function decodeGlobalName( $filter ) { - if ( strpos( $filter, 'global-' ) == 0 ) { + if ( strpos( $filter, 'global-' ) === 0 ) { return substr( $filter, strlen( 'global-' ) ); }