mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
fix parse error, stray executable bit
This commit is contained in:
parent
967fc54413
commit
ea40085dc8
4
AbuseFilter.parser.php
Executable file → Normal file
4
AbuseFilter.parser.php
Executable file → Normal file
|
@ -246,8 +246,8 @@ class AbuseFilterParser {
|
|||
public function checkSyntax( $filter ) {
|
||||
try {
|
||||
$this->parse($filter);
|
||||
} catch (AFPException excep) {
|
||||
return excep->getMessage();
|
||||
} catch (AFPException $excep) {
|
||||
return $excep->getMessage();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue