From 1573b5d1320ba633e411a4750ae93f9c122cb76a Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 7 Mar 2012 15:58:32 -0600 Subject: [PATCH] Correctly pass notice to Spam_score::save() --- train.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train.php b/train.php index 3a31a4e194..f5c82361cc 100644 --- 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