From fca087f846a001ff310f96171b252fbc64ad76b7 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Sun, 12 Oct 2003 23:33:26 +0000 Subject: [PATCH] Minor changes git-svn-id: file:///svn/phpbb/trunk@4592 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_messenger.php | 4 ++-- 1 file 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()) {