[pLog-svn] r5264 - plog/branches/lifetype-1.2/class/action

mark at devel.lifetype.net mark at devel.lifetype.net
Tue Apr 3 14:10:52 EDT 2007


Author: mark
Date: 2007-04-03 14:10:52 -0400 (Tue, 03 Apr 2007)
New Revision: 5264

Modified:
   plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php
Log:
it should be $this->_config, instead of $_config.

Modified: plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php	2007-04-03 17:57:26 UTC (rev 5263)
+++ plog/branches/lifetype-1.2/class/action/viewarticleaction.class.php	2007-04-03 18:10:52 UTC (rev 5264)
@@ -242,7 +242,7 @@
 			// and the comments
 			$blogSettings = $this->_blogInfo->getSettings();			
 			$hardLimit = SiteConfig::getHardShowCommentsMax();
-			$commentsPerPage = $blogSettings->getValue( "show_comments_max", $_config->getValue( "show_comments_max" ));	
+			$commentsPerPage = $blogSettings->getValue( "show_comments_max", $this->_config->getValue( "show_comments_max" ));	
 			if( $commentsPerPage > $hardLimit ) $commentsPerPage = $hardLimit;						
 
 			$comments = new ArticleComments();



More information about the pLog-svn mailing list