[pLog-svn] r625 - plog/trunk/class/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Thu Dec 30 15:50:45 GMT 2004
Author: oscar
Date: 2004-12-30 15:50:44 +0000 (Thu, 30 Dec 2004)
New Revision: 625
Modified:
plog/trunk/class/dao/trackbacks.class.php
Log:
there was a bug in one of the parameters of Trackbacks::getArticleTrackbacks and trackbacks were not being correctly loaded.
Modified: plog/trunk/class/dao/trackbacks.class.php
===================================================================
--- plog/trunk/class/dao/trackbacks.class.php 2004-12-30 15:03:14 UTC (rev 624)
+++ plog/trunk/class/dao/trackbacks.class.php 2004-12-30 15:50:44 UTC (rev 625)
@@ -71,7 +71,7 @@
* @param itemsPerPage
* @return An array of TrackbackItem objects with the information, or false otherwise.
*/
- function getArticleTrackBacks( $artId, $page = DEFAULT_PAGING_DISABLED, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
+ function getArticleTrackBacks( $artId, $page = DEFAULT_PAGING_ENABLED, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
{
$query = "SELECT * FROM ".$this->getPrefix()."trackbacks WHERE article_id = '".Db::qstr($artId)."'";
More information about the pLog-svn
mailing list