From bf617fd4559ad35e9a27f359a931bc011d1620fd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 7 Mar 2012 09:16:27 -0600 Subject: [PATCH] summon a spam filter correctly --- train.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.php b/train.php index 3a89c8c6bc..3a31a4e194 100644 --- a/train.php +++ b/train.php @@ -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.")); -- 2.39.5