Index: trunk/extensions/AbuseFilter/SpecialAbuseFilter.php |
— | — | @@ -241,7 +241,7 @@ |
242 | 242 | // Check syntax |
243 | 243 | $syntaxerr = AbuseFilter::checkSyntax( $wgRequest->getVal( 'wpFilterRules' ) ); |
244 | 244 | if ($syntaxerr !== true ) { |
245 | | - return $this->buildFilterEditor( wfMsgExt( 'abusefilter-edit-badsyntax', array( 'parseinline' ), array( $syntaxerr ) ) ); |
| 245 | + return $this->buildFilterEditor( wfMsgExt( 'abusefilter-edit-badsyntax', array( 'parseinline' ), array( $syntaxerr ) ), $filter, $history_id ); |
246 | 246 | } |
247 | 247 | |
248 | 248 | $dbw = wfGetDB( DB_MASTER ); |