[pLog-svn] r6305 - plog/trunk/class/dao
mark at devel.lifetype.net
mark at devel.lifetype.net
Fri Apr 11 00:40:45 EDT 2008
Author: mark
Date: 2008-04-11 00:40:45 -0400 (Fri, 11 Apr 2008)
New Revision: 6305
Modified:
plog/trunk/class/dao/searchengine.class.php
Log:
Fix an search engine error, it seems we forgot add the {$cond}
Modified: plog/trunk/class/dao/searchengine.class.php
===================================================================
--- plog/trunk/class/dao/searchengine.class.php 2008-04-09 09:37:17 UTC (rev 6304)
+++ plog/trunk/class/dao/searchengine.class.php 2008-04-11 04:40:45 UTC (rev 6305)
@@ -182,7 +182,7 @@
// alternative, slower path
$query = $this->getArticleSearchConditions( $searchTerms );
- $total = $this->getNumItems( "{$prefix}articles a", $query, "a.id" );
+ $total = $this->getNumItems( "{$prefix}articles a", $query." ".$conds, "a.id" );
}
return( $total );
More information about the pLog-svn
mailing list