Index: trunk/extensions/AbuseFilter/AbuseFilter.class.php |
— | — | @@ -335,6 +335,8 @@ |
336 | 336 | 'afl_namespace' => $title->getNamespace(), 'afl_title' => $title->getDBKey(), 'afl_ip' => wfGetIp() ); |
337 | 337 | |
338 | 338 | self::addLogEntries( $actions_taken, $log_template, $vars['ACTION'] ); |
| 339 | + |
| 340 | + $error_msg = $error_msg == '' ? true : $error_msg; |
339 | 341 | |
340 | 342 | return $error_msg; |
341 | 343 | } |