[pLog-svn] r1047 - plog/trunk/class/view/admin

oscar at devel.plogworld.net oscar at devel.plogworld.net
Fri Feb 11 14:16:49 GMT 2005


Author: oscar
Date: 2005-02-11 14:16:49 +0000 (Fri, 11 Feb 2005)
New Revision: 1047

Modified:
   plog/trunk/class/view/admin/admineditpostview.class.php
Log:
fix issue 235 (http://bugs.plogworld.net/view.php?id=235)


Modified: plog/trunk/class/view/admin/admineditpostview.class.php
===================================================================
--- plog/trunk/class/view/admin/admineditpostview.class.php	2005-02-11 11:28:36 UTC (rev 1046)
+++ plog/trunk/class/view/admin/admineditpostview.class.php	2005-02-11 14:16:49 UTC (rev 1047)
@@ -51,7 +51,11 @@
 	            $this->setValue( "postExtendedText", $this->_article->getExtendedText());
 	            $this->setValue( "postSlug", $this->_article->getPostSlug());
 	            $this->setValue( "postId", $this->_article->getId());
-	            $this->setValue( "commentsEnabled", $this->_article->getCommentsEnabled());            
+	            if( $this->_article->getCommentsEnabled())
+					$commentsEnabled = true;
+	            else
+	            	$commentsEnabled = false;
+	            $this->setValue( "postCommentsEnabled", $commentsEnabled );
 	            $this->setValue( "postCategories", $this->_article->getCategoryIds());
 	            $this->setValue( "postStatus", $this->_article->getStatus());
 	            




More information about the pLog-svn mailing list