[pLog-svn] r2108 - plog/branches/plog-1.1-ben/class/dao

ork at devel.plogworld.net ork at devel.plogworld.net
Sun May 29 23:37:38 GMT 2005


Author: ork
Date: 2005-05-29 23:37:38 +0000 (Sun, 29 May 2005)
New Revision: 2108

Modified:
   plog/branches/plog-1.1-ben/class/dao/articlecomments.class.php
Log:
added missin include


Modified: plog/branches/plog-1.1-ben/class/dao/articlecomments.class.php
===================================================================
--- plog/branches/plog-1.1-ben/class/dao/articlecomments.class.php	2005-05-29 23:37:05 UTC (rev 2107)
+++ plog/branches/plog-1.1-ben/class/dao/articlecomments.class.php	2005-05-29 23:37:38 UTC (rev 2108)
@@ -74,7 +74,8 @@
 		 */
 		function getPostComments( $artid, $order = COMMENT_ORDER_NEWEST_FIRST, $status = COMMENT_STATUS_ALL, $page = -1, $itemsPerPage = DEFAULT_ITEMS_PER_PAGE )
 		{
-	        include_once( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
+	        require_once( PLOG_CLASS_PATH."class/dao/usercomment.class.php" );
+	        require_once( PLOG_CLASS_PATH."class/data/timestamp.class.php" );
 
 			$query = "SELECT * FROM ".$this->getPrefix()."articles_comments WHERE article_id = ".$artid;
             if( $status != COMMENT_STATUS_ALL )




More information about the pLog-svn mailing list