diff --git a/include/class.thread.php b/include/class.thread.php index e0edf1408a1e3933978a8cc0caff21380c70ea1f..fb1e1431acd44b4adfdb760be316be0e25b37209 100644 --- a/include/class.thread.php +++ b/include/class.thread.php @@ -148,7 +148,7 @@ class Thread { // DELME: When HTML / rich-text is supported $vars['title'] = Format::htmlchars($vars['title']); - $vars['body'] = Format::htmlchars($vars['body']); + $vars['note'] = Format::htmlchars($vars['note']); return Note::create($vars, $errors); } @@ -160,7 +160,7 @@ class Thread { // DELME: When HTML / rich-text is supported $vars['title'] = Format::htmlchars($vars['title']); - $vars['body'] = Format::htmlchars($vars['body']); + $vars['message'] = Format::htmlchars($vars['message']); return Message::create($vars, $errors); } @@ -171,7 +171,7 @@ class Thread { // DELME: When HTML / rich-text is supported $vars['title'] = Format::htmlchars($vars['title']); - $vars['body'] = Format::htmlchars($vars['body']); + $vars['response'] = Format::htmlchars($vars['response']); return Response::create($vars, $errors); }