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

Julien HEYMAN jheyman at fusionforge.org
Wed Jul 27 11:06:31 CEST 2011


Author: jheyman
Date: 2011-07-27 11:06:31 +0200 (Wed, 27 Jul 2011)
New Revision: 13838

Modified:
   branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php
Log:
Fix regex in artefact details

Modified: branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php
===================================================================
--- branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php	2011-07-27 08:45:56 UTC (rev 13837)
+++ branches/Branch_5_1/src/www/tracker/include/ArtifactHtml.class.php	2011-07-27 09:06:31 UTC (rev 13838)
@@ -36,7 +36,7 @@
 		$result = $this->getDetails();
 		$result = util_gen_cross_ref($result, $this->ArtifactType->Group->getID());
 		//$result = util_line_wrap( $result, 120,"\n");
-		$result = preg_replace('/\r?\n/', '<br />', $result);
+		$result = preg_replace('/\r|\n/', '<br />', $result);
 
 		$title_arr = array();
 		if ($editable === true) {




More information about the Fusionforge-commits mailing list