r44523 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44522‎ | r44523 | r44524 >
Date:03:47, 13 December 2008
Author:werdna
Status:ok
Tags:
Comment:
Fix a fatal...
Modified paths:
  • /trunk/extensions/AbuseFilter/SpecialAbuseFilter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/SpecialAbuseFilter.php
@@ -241,7 +241,7 @@
242242 // Check syntax
243243 $syntaxerr = AbuseFilter::checkSyntax( $wgRequest->getVal( 'wpFilterRules' ) );
244244 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 );
246246 }
247247
248248 $dbw = wfGetDB( DB_MASTER );

Status & tagging log