[pLog-svn] r1879 - plog/branches/plog-1.0.1/class/security

oscar at devel.plogworld.net oscar at devel.plogworld.net
Tue Apr 19 20:12:01 GMT 2005


Author: oscar
Date: 2005-04-19 20:12:01 +0000 (Tue, 19 Apr 2005)
New Revision: 1879

Modified:
   plog/branches/plog-1.0.1/class/security/bayesianfilter.class.php
Log:
fixed a little bug

Modified: plog/branches/plog-1.0.1/class/security/bayesianfilter.class.php
===================================================================
--- plog/branches/plog-1.0.1/class/security/bayesianfilter.class.php	2005-04-19 18:33:13 UTC (rev 1878)
+++ plog/branches/plog-1.0.1/class/security/bayesianfilter.class.php	2005-04-19 20:12:01 UTC (rev 1879)
@@ -91,7 +91,7 @@
                 // rules makes things easier :)
                 if( $config->getValue( "bayesian_filter_spam_comments_action" ) == BAYESIAN_FILTER_KEEP_COMMENT_ACTION ) {
                 	$comments = new ArticleComments();
-					$comment = new UserComment( $articleId, $parentId, $topic, $commentText,
+					$comment = new UserComment( $articleId, $parentId, $commentTopic, $commentText,
 					                               null, $userName, $userEmail, $userUrl, $clientIp,
 												   0, COMMENT_STATUS_SPAM );
                     $comments->addComment( $comment );




More information about the pLog-svn mailing list