summon a spam filter correctly

This commit is contained in:
Evan Prodromou 2012-03-07 09:16:27 -06:00
parent 32008901ec
commit bf617fd455
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class TrainAction extends Action
$filter = null;
Event::handle('GetSpamFilter', &$filter);
Event::handle('GetSpamFilter', array(&$filter));
if (empty($filter)) {
throw new ServerException(_("No spam filter configured."));