[pLog-svn] r1256 - plog/trunk/class/dao
oscar at devel.plogworld.net
oscar at devel.plogworld.net
Mon Feb 28 20:56:28 GMT 2005
Author: oscar
Date: 2005-02-28 20:56:26 +0000 (Mon, 28 Feb 2005)
New Revision: 1256
Modified:
plog/trunk/class/dao/article.class.php
Log:
fixed bug 279 (http://bugs.plogworld.net/view.php?id=279) -- I also hate myself...
Modified: plog/trunk/class/dao/article.class.php
===================================================================
--- plog/trunk/class/dao/article.class.php 2005-02-28 20:49:32 UTC (rev 1255)
+++ plog/trunk/class/dao/article.class.php 2005-02-28 20:56:26 UTC (rev 1256)
@@ -293,7 +293,7 @@
{
if( $this->_trackbacks == null ) {
$trackbacks = new Trackbacks();
- $articleTrackbacks = $trackbacks->getArticleTrackbacks( $this->getId());
+ $this->_trackbacks = $trackbacks->getArticleTrackbacks( $this->getId());
}
return $this->_trackbacks;
@@ -531,7 +531,7 @@
}
}
else
- $num = $this->_totalComments;
+ $num = count( $this->_comments );
return( $num );
}
@@ -552,7 +552,7 @@
*/
function getTotalTrackbacks()
{
- return $this->getNumTrackbacks();
+ return( $this->getNumTrackbacks());
}
/**
More information about the pLog-svn
mailing list