[Fusionforge-commits] r9047 - trunk/gforge/common/tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Fri Mar 12 15:59:15 CET 2010


Author: aljeux
Date: 2010-03-12 15:59:15 +0100 (Fri, 12 Mar 2010)
New Revision: 9047

Modified:
   trunk/gforge/common/tracker/Artifact.class.php
Log:
Fix re-encoded summary & description when adding a comment

Modified: trunk/gforge/common/tracker/Artifact.class.php
===================================================================
--- trunk/gforge/common/tracker/Artifact.class.php	2010-03-12 14:59:08 UTC (rev 9046)
+++ trunk/gforge/common/tracker/Artifact.class.php	2010-03-12 14:59:15 UTC (rev 9047)
@@ -813,8 +813,8 @@
 		} else {
 			//everyone else cannot modify these fields
 			$priority=$this->getPriority();
-			$summary=$this->getSummary();
-			$description=$this->getDetails();
+			$summary=htmlspecialchars_decode($this->getSummary());
+			$description=htmlspecialchars_decode($this->getDetails());
 			$canned_response=100;
 			$new_artifact_type_id=$this->ArtifactType->getID();
 			$assigned_to=$this->getAssignedTo();




More information about the Fusionforge-commits mailing list