[pLog-svn] r1047 - plog/trunk/class/view/admin
Jon Daley
jondaley at snurgle.org
Fri Feb 11 14:31:06 GMT 2005
This looks like a strange fix. Does getCommentsEnabled not return
true/false? The fix didn't work.
On Fri, 11 Feb 2005 oscar at devel.plogworld.net wrote:
> 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());
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>
**************************************************************
* Jonathan M. Daley * A word to the wise ain't *
* * necessary - it's the stupid *
* jondaley at snurgle.org * ones that need the advice. *
* * -- Bill Cosby *
* www.snurgle.org/~jondaley * *
**************************************************************
More information about the pLog-svn
mailing list