Skip to content

Commit

Permalink
fix(target ticket): backquote in ticket ticle
Browse files Browse the repository at this point in the history
fix #951
  • Loading branch information
btry committed Apr 9, 2018
1 parent f09e685 commit 1296925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ public function save(PluginFormcreatorForm_Answer $formanswer) {
// TODO: generate instances of all answers of the form and use them for the fullform computation
// and the computation from a admin-defined target ticket template
$data['name'] = $this->fields['name'];
$data['name'] = addslashes($this->parseTags($data['name'], $formanswer));
$data['name'] = $this->parseTags($data['name'], $formanswer);

$data['content'] = addslashes($this->fields['comment']);
$data['content'] = str_replace("\r\n", '\r\n', $data['content']);
Expand Down

0 comments on commit 1296925

Please sign in to comment.