[Fusionforge-commits] r15085 - branches/Branch_5_0/gforge/www/tracker/include

Julien HEYMAN jheyman at fusionforge.org
Fri Mar 2 09:44:38 CET 2012


Author: jheyman
Date: 2012-03-02 09:44:38 +0100 (Fri, 02 Mar 2012)
New Revision: 15085

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

Modified: branches/Branch_5_0/gforge/www/tracker/include/ArtifactHtml.class.php
===================================================================
--- branches/Branch_5_0/gforge/www/tracker/include/ArtifactHtml.class.php	2012-02-28 14:04:35 UTC (rev 15084)
+++ branches/Branch_5_0/gforge/www/tracker/include/ArtifactHtml.class.php	2012-03-02 08:44:38 UTC (rev 15085)
@@ -83,7 +83,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