[pLog-svn] r2319 - plog/branches/plog-1.0.2/class/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Thu Jul 14 06:59:50 GMT 2005
Author: oscar
Date: 2005-07-14 06:59:50 +0000 (Thu, 14 Jul 2005)
New Revision: 2319
Modified:
plog/branches/plog-1.0.2/class/dao/articles.class.php
Log:
forgot to remove the parameters from the calls to the method
Modified: plog/branches/plog-1.0.2/class/dao/articles.class.php
===================================================================
--- plog/branches/plog-1.0.2/class/dao/articles.class.php 2005-07-14 06:58:37 UTC (rev 2318)
+++ plog/branches/plog-1.0.2/class/dao/articles.class.php 2005-07-14 06:59:50 UTC (rev 2319)
@@ -319,7 +319,7 @@
{
$postStatus = $status;
$prefix = $this->getPrefix();
- $where = $this->buildWhere( $blogid, $date, $amount, $categoryId, $status, $userId, $maxDate, $searchTerms, $page, $itemsPerPage );
+ $where = $this->buildWhere( $blogid, $date, $amount, $categoryId, $status, $userId, $maxDate, $searchTerms );
$query = "SELECT COUNT(*) AS total FROM {$prefix}articles a, {$prefix}articles_categories c,
{$prefix}article_categories_link l";
if( $searchTerms != "" )
@@ -370,7 +370,7 @@
// wether the category has to be shown in the main page or not, etc...
$postStatus = $status;
$prefix = $this->getPrefix();
- $where = $this->buildWhere( $blogid, $date, $amount, $categoryId, $status, $userId, $maxDate, $searchTerms, $page );
+ $where = $this->buildWhere( $blogid, $date, $amount, $categoryId, $status, $userId, $maxDate, $searchTerms );
$query = "SELECT a.id as id, a.id, a.date,
a.user_id,a.blog_id,a.status,a.properties,
a.num_reads, a.slug, 1 AS relevance FROM {$prefix}articles a, {$prefix}articles_categories c,
More information about the pLog-svn
mailing list