From b04d68d4ba36b1b1a0a1741a6400f86215071005 Mon Sep 17 00:00:00 2001 From: OsaAjani Date: Wed, 9 Dec 2015 19:32:34 +0100 Subject: [PATCH] fix md5 null --- controllers/discussions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/discussions.php b/controllers/discussions.php index 9779301..86f6f3a 100755 --- a/controllers/discussions.php +++ b/controllers/discussions.php @@ -95,7 +95,7 @@ 'date' => htmlspecialchars($received['at']), 'text' => htmlspecialchars($received['content']), 'type' => 'received', - 'md5' => md5($received), + 'md5' => md5($received['at'] . $received['content']), ); }