]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Correctly pass notice to Spam_score::save()
authorEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 21:58:32 +0000 (15:58 -0600)
committerEvan Prodromou <evan@status.net>
Wed, 7 Mar 2012 21:58:32 +0000 (15:58 -0600)
train.php

index 3a31a4e194b8dee7f6bc6b08f3fd5d5153defdf5..f5c82361ccb8473a1f3bcc66f3b0b90b3b474398 100644 (file)
--- a/train.php
+++ b/train.php
@@ -128,7 +128,7 @@ class TrainAction extends Action
 
         // Update or insert
 
-        $score = Spam_score::save($notice, $result);
+        $score = Spam_score::save($this->notice, $result);
 
         // Show new toggle form