aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions_messenger.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions_messenger.php b/phpBB/includes/functions_messenger.php
index f2819f91be..5365b55530 100644
--- a/phpBB/includes/functions_messenger.php
+++ b/phpBB/includes/functions_messenger.php
@@ -339,7 +339,7 @@ class messenger
$this->jabber->port = ($config['jab_port']) ? $config['jab_port'] : 5222;
$this->jabber->username = $config['jab_username'];
$this->jabber->password = $config['jab_password'];
- $this->jabber->resource = (!empty($config['jab_resource'])) ? htmlentities($config['jab_resource']) : '';
+ $this->jabber->resource = ($config['jab_resource']) ? $config['jab_resource'] : '';
if (!$this->jabber->Connect())
{
@@ -453,7 +453,7 @@ class queue
$this->jabber->port = ($config['jab_port']) ? $config['jab_port'] : 5222;
$this->jabber->username = $config['jab_username'];
$this->jabber->password = $config['jab_password'];
- $this->jabber->resource = (!empty($config['jab_resource'])) ? htmlentities($config['jab_resource']) : '';
+ $this->jabber->resource = ($config['jab_resource']) ? $config['jab_resource'] : '';
if (!$this->jabber->Connect())
{