[evolvis-commits] r16575: Fix missing {$Postname} in tracker template.

mirabilos at evolvis.org mirabilos at evolvis.org
Tue Mar 1 01:26:00 CET 2011


Author: mirabilos
Date: 2011-03-01 01:26:00 +0100 (Tue, 01 Mar 2011)
New Revision: 16575

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php
Log:
Fix missing {$Postname} in tracker template.

Modified: trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php	2011-03-01 00:25:57 UTC (rev 16574)
+++ trunk/gforge_base/evolvisforge-5.1/src/www/tracker/include/ArtifactTypeHtml.class.php	2011-03-01 00:26:00 UTC (rev 16575)
@@ -208,6 +208,7 @@
 					// Convert artifact id to links.
 					$value = preg_replace('/\b(\d+)\b/e', "_artifactid2url('\\1')", $value);
 				}
+				$template = str_replace('{$PostName:'.$efarr[$i]['field_name'].'}',$post_name,$template);
 				$template = str_replace('{$'.$efarr[$i]['field_name'].'}',$value,$template);		
 			}
 			echo $template;



More information about the evolvis-commits mailing list