From e6285a2bca3c75df5d11092741d20334ded99583 Mon Sep 17 00:00:00 2001 From: Boris Date: Tue, 15 Nov 2022 21:03:48 +0100 Subject: [PATCH] =?UTF-8?q?App=C3=A9cieeez=20moooooooiiiiii?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/Conversation.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Conversation.class.php b/lib/Conversation.class.php index 6217e90..33d1495 100644 --- a/lib/Conversation.class.php +++ b/lib/Conversation.class.php @@ -4,7 +4,7 @@ require_once('Message.class.php'); function compareMsgDate ($msg1, $msg2) { - return ($msg1->getDate() < $msg2->getDate()) ? false : true; + return ($msg1->getDate() < $msg2->getDate()) ? -1 : 1; } class Conversation {