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

jondaley at devel.lifetype.net jondaley at devel.lifetype.net
Sat Mar 17 09:36:13 EDT 2007


Author: jondaley
Date: 2007-03-17 09:36:12 -0400 (Sat, 17 Mar 2007)
New Revision: 5119

Modified:
   plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php
Log:
don't add [more] tag unless there is extendedtext. fixes more tag being added as observed on the svn list

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-17 13:17:24 UTC (rev 5118)
+++ plog/branches/lifetype-1.2/class/action/admin/adminupdatepostaction.class.php	2007-03-17 13:36:12 UTC (rev 5119)
@@ -106,7 +106,9 @@
 
              // if we got it, update some fields
             $post->setTopic( stripslashes($this->_postTopic));
-            $postText = $this->_postText.POST_EXTENDED_TEXT_MODIFIER.$this->_postExtendedText;
+            $postText = $this->_postText;
+            if($this->_postExtendedText)
+                $postText .= POST_EXTENDED_TEXT_MODIFIER.$this->_postExtendedText;
             $post->setText( stripslashes($postText));
             $post->setTopic( $this->_postTopic );
             $post->setText( $postText );



More information about the pLog-svn mailing list