[pLog-svn] r1234 - plog/trunk/class/summary/dao

oscar at devel.plogworld.net oscar at devel.plogworld.net
Sun Feb 27 22:42:53 GMT 2005


Author: oscar
Date: 2005-02-27 22:42:52 +0000 (Sun, 27 Feb 2005)
New Revision: 1234

Modified:
   plog/trunk/class/summary/dao/summarystats.class.php
Log:
this should be a bit more efficient...

Modified: plog/trunk/class/summary/dao/summarystats.class.php
===================================================================
--- plog/trunk/class/summary/dao/summarystats.class.php	2005-02-27 17:28:39 UTC (rev 1233)
+++ plog/trunk/class/summary/dao/summarystats.class.php	2005-02-27 22:42:52 UTC (rev 1234)
@@ -106,10 +106,10 @@
 
 			// ignore certain topics and/or certain texts
 			if( $ignoreTopic != "" )
-				$query .= " AND t.topic NOT LIKE '%".Db::qstr( $ignoreTopic )."%' ";
+				$query .= " AND t.topic NOT LIKE '".Db::qstr( $ignoreTopic )."' ";
 
 			if( $ignoreText != "" )
-				$query .= " AND t.text NOT LIKE '%".Db::qstr( $ignoreText )."%' ";
+				$query .= " AND t.text NOT LIKE '".Db::qstr( $ignoreText )."' ";
 
 			$query .= " ORDER BY a.num_reads DESC ";
 




More information about the pLog-svn mailing list