[pLog-svn] r7069 - plugins/branches/lifetype-1.2/moderate

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Fri Oct 15 22:37:10 EDT 2010


Author: jondaley
Date: 2010-10-15 22:37:09 -0400 (Fri, 15 Oct 2010)
New Revision: 7069

Modified:
   plugins/branches/lifetype-1.2/moderate/pluginmoderate.class.php
Log:
ah - it can't just be not unmoderated, it also needs to not be automatically marked as spam, duh

Modified: plugins/branches/lifetype-1.2/moderate/pluginmoderate.class.php
===================================================================
--- plugins/branches/lifetype-1.2/moderate/pluginmoderate.class.php	2010-10-15 14:19:35 UTC (rev 7068)
+++ plugins/branches/lifetype-1.2/moderate/pluginmoderate.class.php	2010-10-16 02:37:09 UTC (rev 7069)
@@ -63,7 +63,7 @@
                     $this->db =& Db::getDb();
                     $dbPrefix = Db::getPrefix();
                     $query = "SELECT id FROM ${dbPrefix}articles_comments WHERE ".
-                        "status != ".COMMENT_STATUS_UNMODERATED." AND ".
+                        "status = ".COMMENT_STATUS_NONSPAM." AND ".
                         "client_ip = '$ip' LIMIT 1";
                     
                     $result = $this->db->Execute($query);



More information about the pLog-svn mailing list