From 4688836b1acc7c724018175913b125f60c52fecb Mon Sep 17 00:00:00 2001 From: OsaAjani Date: Wed, 9 Dec 2015 19:25:43 +0100 Subject: [PATCH] Fix son en boucle reception sms discussion --- controllers/discussions.php | 1 + templates/discussions/show.php | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 @@