From: Evan Prodromou Date: Wed, 7 Mar 2012 15:16:27 +0000 (-0600) Subject: summon a spam filter correctly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bf617fd4559ad35e9a27f359a931bc011d1620fd;p=quix0rs-gnu-social.git summon a spam filter correctly --- 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."));