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

Julien HEYMAN jheyman at fusionforge.org
Wed Jul 27 10:39:40 CEST 2011


Author: jheyman
Date: 2011-07-27 10:39:40 +0200 (Wed, 27 Jul 2011)
New Revision: 13836

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

Modified: branches/Branch_5_0/gforge/www/tracker/include/ArtifactHtml.class.php
===================================================================
--- branches/Branch_5_0/gforge/www/tracker/include/ArtifactHtml.class.php	2011-07-27 08:39:31 UTC (rev 13835)
+++ branches/Branch_5_0/gforge/www/tracker/include/ArtifactHtml.class.php	2011-07-27 08:39:40 UTC (rev 13836)
@@ -35,7 +35,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