diff --git a/include/class.thread.php b/include/class.thread.php index 9b4853a420b77b67d74a51bebad8875065f349b3..847932fe798d1cc7a23d2d9c64db6b8684a77ebf 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); }