[pLog-svn] r3850 - plog/trunk/class/dao

oscar at devel.lifetype.net oscar at devel.lifetype.net
Wed Aug 9 17:04:22 GMT 2006


Author: oscar
Date: 2006-08-09 17:04:21 +0000 (Wed, 09 Aug 2006)
New Revision: 3850

Modified:
   plog/trunk/class/dao/article.class.php
Log:
fixed Article::getText() as advised in http://bugs.lifetype.net/view.php?id=1003


Modified: plog/trunk/class/dao/article.class.php
===================================================================
--- plog/trunk/class/dao/article.class.php	2006-08-09 15:54:33 UTC (rev 3849)
+++ plog/trunk/class/dao/article.class.php	2006-08-09 17:04:21 UTC (rev 3850)
@@ -131,10 +131,10 @@
         /**
          * Returns the text of the article
          * @param replace a string, usually html syntax, to "split"
-         * the intro and the extendet text. Default is <br/>.
+         * the intro and the extended text. Default is <br/>.
          * @return The text
          */
-		function getText( $replace = '<br/>' )
+		function getText( $replace = '' )
 		{
             if( $replace !== false )
 				return str_replace( POST_EXTENDED_TEXT_MODIFIER, $replace, $this->_text );



More information about the pLog-svn mailing list