summon a spam filter correctly
This commit is contained in:
@@ -89,7 +89,7 @@ class TrainAction extends Action
|
|||||||
|
|
||||||
$filter = null;
|
$filter = null;
|
||||||
|
|
||||||
Event::handle('GetSpamFilter', &$filter);
|
Event::handle('GetSpamFilter', array(&$filter));
|
||||||
|
|
||||||
if (empty($filter)) {
|
if (empty($filter)) {
|
||||||
throw new ServerException(_("No spam filter configured."));
|
throw new ServerException(_("No spam filter configured."));
|
||||||
|
Reference in New Issue
Block a user