mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-21 00:41:29 +01:00
FIX Bug in php-imap library. Fatal error if imap connet fails
This commit is contained in:
@@ -190,7 +190,7 @@ abstract class Protocol implements ProtocolInterface {
|
||||
STREAM_CLIENT_CONNECT,
|
||||
stream_context_create($this->defaultSocketOptions($transport))
|
||||
);
|
||||
stream_set_timeout($stream, $timeout);
|
||||
//stream_set_timeout($stream, $timeout); // Hang id $strem empty and already done line 199
|
||||
|
||||
if (!$stream) {
|
||||
throw new ConnectionFailedException($errstr, $errno);
|
||||
|
||||
Reference in New Issue
Block a user