[Fusionforge-commits] r10576 - trunk/src/common/tracker
Alain Peyrat
aljeux at libremir.placard.fr.eu.org
Mon Sep 20 23:02:09 CEST 2010
Author: aljeux
Date: 2010-09-20 23:02:08 +0200 (Mon, 20 Sep 2010)
New Revision: 10576
Modified:
trunk/src/common/tracker/Artifact.class.php
Log:
Fix extraslashes when using canned response.
Modified: trunk/src/common/tracker/Artifact.class.php
===================================================================
--- trunk/src/common/tracker/Artifact.class.php 2010-09-20 20:52:37 UTC (rev 10575)
+++ trunk/src/common/tracker/Artifact.class.php 2010-09-20 21:02:08 UTC (rev 10576)
@@ -1061,7 +1061,7 @@
} elseif ($acr->isError()) {
$this->setError('Artifact: '.$acr->getErrorMessage());
} else {
- $body = addslashes($acr->getBody());
+ $body = $acr->getBody();
if ($body) {
if (!$this->addMessage(util_unconvert_htmlspecialchars($body),'',0)) {
db_rollback();
@@ -1457,10 +1457,10 @@
if ($type > 1) {
// get all the email addresses that are monitoring this request or the ArtifactType
- $monitor_ids =& $this->getMonitorIds();
+ $monitor_ids = $this->getMonitorIds();
} else {
// initial creation, we just get the users monitoring the ArtifactType
- $monitor_ids =& $this->ArtifactType->getMonitorIds();
+ $monitor_ids = $this->ArtifactType->getMonitorIds();
}
$emails = array();
More information about the Fusionforge-commits
mailing list