mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 14:13:54 +00:00
Fix up error message.
This commit is contained in:
parent
7c210e7849
commit
2d1056858d
|
@ -556,7 +556,7 @@ class AbuseFilterParser {
|
|||
$func = self::$mFunctions[$this->mCur->value];
|
||||
$this->move();
|
||||
if( $this->mCur->type != AFPToken::TBrace || $this->mCur->value != '(' )
|
||||
throw new AFPException( "Expected ( at char {$this->mCur->value}" );
|
||||
throw new AFPException( "Expected ( at char {$this->mCur->pos} (got a '{$this->mCur->value}')" );
|
||||
wfProfileIn( __METHOD__."-loadargs" );
|
||||
$args = array();
|
||||
do {
|
||||
|
|
Loading…
Reference in a new issue