mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-27 15:30:42 +00:00
Fix a notice
This commit is contained in:
parent
aac69c2f69
commit
1f7effdd19
|
@ -690,6 +690,8 @@ class AbuseFilterParser {
|
|||
$tok .= $code[0];
|
||||
$code = substr( $code, 1 );
|
||||
|
||||
$base = '';
|
||||
|
||||
while( strlen( $code ) != 0 && self::isDigitOrDot( $code[0] ) ) {
|
||||
$tok .= $base = $code[0];
|
||||
$code = substr( $code, 1 );
|
||||
|
|
Loading…
Reference in a new issue