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

Paul Westbrook paul at westbrooks.org
Sun Mar 25 23:15:00 EDT 2007


Hello,
    I agree.  If you update a post that has extended text, this  
change appears to lose the extended text.

--Paul


On Mar 25, 2007, at 8:06 PM, Jon Daley wrote:

>  	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.class.php
>> Log:
>> Fixed a PHP5 notice.
>>
>> Modified: plog/branches/lifetype-1.2/class/action/admin/ 
>> adminupdatepostaction.class.php
>> ===================================================================
>> --- plog/branches/lifetype-1.2/class/action/admin/ 
>> adminupdatepostaction.class.php	2007-03-25 15:29:37 UTC (rev 5182)
>> +++ plog/branches/lifetype-1.2/class/action/admin/ 
>> adminupdatepostaction.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

--
Paul Westbrook
paul at westbrooks.org
<http://www.westbrooks.org>




More information about the pLog-svn mailing list