diff --git a/adm/style/acp_mchat_globalusersettings_content.html b/adm/style/acp_mchat_globalusersettings_content.html
index 7b3f61a..bbda870 100644
--- a/adm/style/acp_mchat_globalusersettings_content.html
+++ b/adm/style/acp_mchat_globalusersettings_content.html
@@ -87,7 +87,7 @@
{{ lang('MCHAT_DATE_FORMAT_EXPLAIN') }}
-
-
diff --git a/core/settings.php b/core/settings.php
index d38b01d..1ac2eea 100644
--- a/core/settings.php
+++ b/core/settings.php
@@ -401,7 +401,7 @@ public function get_date_template_data($selected)
return array(
'S_MCHAT_DATEFORMAT_OPTIONS' => $dateformat_options,
- 'A_MCHAT_DEFAULT_DATEFORMAT' => addslashes($ucp_settings['mchat_date']['default']),
+ 'MCHAT_DEFAULT_DATEFORMAT' => $ucp_settings['mchat_date']['default'],
'S_MCHAT_CUSTOM_DATEFORMAT' => $s_custom,
);
}
diff --git a/styles/prosilver/template/ucp_mchat.html b/styles/prosilver/template/ucp_mchat.html
index c2983dd..238f754 100644
--- a/styles/prosilver/template/ucp_mchat.html
+++ b/styles/prosilver/template/ucp_mchat.html
@@ -128,7 +128,7 @@ {{ lang('MCHAT_PREFERENCES') }}
{{ lang('MCHAT_DATE_FORMAT_EXPLAIN') }}
-
-
+
{{ S_MCHAT_DATEFORMAT_OPTIONS }}