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

Mark Wu markplace at gmail.com
Mon Mar 26 01:55:38 EDT 2007


Actually, $this->_postExtendedText never exist in $article object. According
to the code in adminpostmanagementcommonaction.class.php

So, I think we should delete it, or it always show error notice when we add
or remove articles.

Mark

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Monday, March 26, 2007 11:06 AM
> To: plog-svn at devel.lifetype.net
> Subject: Re: [pLog-svn] r5183 - 
> plog/branches/lifetype-1.2/class/action/admin
> 
>  	I don't understand this fix.  You no longer append the 
> extended text?  Is this the code I just added a little bit 
> ago, from our discussion about automatically added the <more> 
> tag to every post?  I haven't tried it, so maybe it works, it 
> just seems odd that you could remove this add not have 
> side-effects somewhere else.
> 
> On Sun, 25 Mar 2007, mark at devel.lifetype.net wrote:
> 
> > Author: mark
> > Date: 2007-03-25 12:31:45 -0400 (Sun, 25 Mar 2007) New 
> Revision: 5183
> >
> > Modified:
> >   
> > 
> plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.cl
> > ass.php
> > Log:
> > Fixed a PHP5 notice.
> >
> > Modified: 
> > 
> plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.cl
> > ass.php 
> > ===================================================================
> > --- 
> plog/branches/lifetype-1.2/class/action/admin/adminupdateposta
> ction.class.php	2007-03-25 15:29:37 UTC (rev 5182)
> > +++ 
> plog/branches/lifetype-1.2/class/action/admin/adminupdateposta
> ction.class.php	2007-03-25 16:31:45 UTC (rev 5183)
> > @@ -107,8 +107,6 @@
> >              // if we got it, update some fields
> >             $post->setTopic( stripslashes($this->_postTopic));
> >             $postText = $this->_postText;
> > -            if($this->_postExtendedText)
> > -                $postText .= 
> POST_EXTENDED_TEXT_MODIFIER.$this->_postExtendedText;
> >             $post->setText( stripslashes($postText));
> >             $post->setTopic( $this->_postTopic );
> >             $post->setText( $postText );
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
> 
> --
> Jon Daley
> http://jon.limedaley.com/
> 
> There is no "I" in Team, but it does contain a silent "scapegoat"
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
> 



More information about the pLog-svn mailing list