]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
summon a spam filter correctly
authorEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 15:16:27 +0000 (09:16 -0600)
committerEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 15:16:27 +0000 (09:16 -0600)
train.php

index 3a89c8c6bc36bf938e54295eda5333c5a7a43155..3a31a4e194b8dee7f6bc6b08f3fd5d5153defdf5 100644 (file)
--- 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."));