diff --git a/adm/style/acp_mchat.html b/adm/style/acp_mchat.html index b071563..cfe2a93 100644 --- a/adm/style/acp_mchat.html +++ b/adm/style/acp_mchat.html @@ -51,8 +51,8 @@

{L_MCHAT_MESSAGE_TOP_EXPLAIN}
-
-
+
+

diff --git a/core/render_helper.php b/core/render_helper.php index f0412a3..5514a95 100644 --- a/core/render_helper.php +++ b/core/render_helper.php @@ -427,9 +427,9 @@ class render_helper $rows = $this->db->sql_fetchrowset($result); $this->db->sql_freeresult($result); // Reverse the array wanting messages appear in reverse - if($this->config['mchat_message_top']) + if(!$this->config['mchat_message_top']) { - $rows = array_reverse($rows); + $rows = array_reverse($rows); } foreach($rows as $row) @@ -984,9 +984,9 @@ class render_helper $rows = $this->db->sql_fetchrowset($result); $this->db->sql_freeresult($result); - if($this->config['mchat_message_top']) + if(!$this->config['mchat_message_top']) { - $rows = array_reverse($rows, true); + $rows = array_reverse($rows, true); } foreach($rows as $row) diff --git a/styles/prosilver/template/mchat_body.html b/styles/prosilver/template/mchat_body.html index e2b7903..b19dcdf 100644 --- a/styles/prosilver/template/mchat_body.html +++ b/styles/prosilver/template/mchat_body.html @@ -6,9 +6,9 @@ - - + +