[Fusionforge-commits] r15087 - branches/Branch_5_1/src/www/tracker/include

Julien HEYMAN jheyman at fusionforge.org
Fri Mar 2 09:53:11 CET 2012


Author: jheyman
Date: 2012-03-02 09:53:10 +0100 (Fri, 02 Mar 2012)
New Revision: 15087

Modified:
   branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php
Log:
Fix format for messages in trackers

Modified: branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php
===================================================================
--- branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php	2012-03-02 08:50:37 UTC (rev 15086)
+++ branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php	2012-03-02 08:53:10 UTC (rev 15087)
@@ -84,7 +84,7 @@
 				$text = db_result($result, $i, 'body');
 				$text = util_gen_cross_ref($text, $this->ArtifactType->Group->getID());
 				//$text = util_line_wrap( $text, 120,"\n");
-				$text = preg_replace('/\r?\n/', '<br />', $text);
+				$text = preg_replace('/\r|\n/', '<br />', $text);
 				echo "<br /><br />".$text.'</td></tr>';
 			}
 




More information about the Fusionforge-commits mailing list