diff --git a/controllers/discussions.php b/controllers/discussions.php index 461bd19..9779301 100755 --- a/controllers/discussions.php +++ b/controllers/discussions.php @@ -95,6 +95,7 @@ 'date' => htmlspecialchars($received['at']), 'text' => htmlspecialchars($received['content']), 'type' => 'received', + 'md5' => md5($received), ); } diff --git a/templates/discussions/show.php b/templates/discussions/show.php index 0e27bca..aafb9a5 100755 --- a/templates/discussions/show.php +++ b/templates/discussions/show.php @@ -49,6 +49,9 @@