r46745 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46744‎ | r46745 | r46746 >
Date:23:30, 2 February 2009
Author:werdna
Status:ok
Tags:
Comment:
Fix abuse filter blocking *everything*.
Modified paths:
  • /trunk/extensions/AbuseFilter/AbuseFilter.class.php (modified) (history)

Diff [purge]

Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php
@@ -335,6 +335,8 @@
336336 'afl_namespace' => $title->getNamespace(), 'afl_title' => $title->getDBKey(), 'afl_ip' => wfGetIp() );
337337
338338 self::addLogEntries( $actions_taken, $log_template, $vars['ACTION'] );
 339+
 340+ $error_msg = $error_msg == '' ? true : $error_msg;
339341
340342 return $error_msg;
341343 }

Status & tagging log