diff options
author | Rubén Calvo <rubencm@gmail.com> | 2017-04-02 15:17:31 +0200 |
---|---|---|
committer | Rubén Calvo <rubencm@gmail.com> | 2017-04-02 15:17:31 +0200 |
commit | 4147c388380ab872b4e0ba080fa019a5a4731302 (patch) | |
tree | e09da659daee926bb85ed05064562cb699286890 /phpBB/includes | |
parent | 2f277b6f670a08ce6ca3f1ae84e73752d595a3ab (diff) | |
download | forums-4147c388380ab872b4e0ba080fa019a5a4731302.tar forums-4147c388380ab872b4e0ba080fa019a5a4731302.tar.gz forums-4147c388380ab872b4e0ba080fa019a5a4731302.tar.bz2 forums-4147c388380ab872b4e0ba080fa019a5a4731302.tar.xz forums-4147c388380ab872b4e0ba080fa019a5a4731302.zip |
[ticket/15150] Hide errors if function stream_socket_client have been disabled
PHPBB3-15150
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/functions_jabber.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_jabber.php b/phpBB/includes/functions_jabber.php index a4fbc90d57..0ef4797886 100644 --- a/phpBB/includes/functions_jabber.php +++ b/phpBB/includes/functions_jabber.php @@ -266,7 +266,7 @@ class jabber $socket_context = stream_context_create($options); - if ($this->connection = stream_socket_client($remote_socket, $errorno, $errorstr, $this->timeout, STREAM_CLIENT_CONNECT, $socket_context)) + if ($this->connection = @stream_socket_client($remote_socket, $errorno, $errorstr, $this->timeout, STREAM_CLIENT_CONNECT, $socket_context)) { socket_set_blocking($this->connection, 0); socket_set_timeout($this->connection, 60); |