forked from extern/egroupware
Possible fix for the network class error on line 81.
This commit is contained in:
parent
daba675559
commit
9db6ba3adc
@ -78,7 +78,10 @@
|
||||
if(floor(phpversion()) == 4)
|
||||
{
|
||||
$this->socket = fsockopen($server,$port,$errcode,$errmsg,$timeout);
|
||||
socket_set_timeout($this->socket,$timeout,0);
|
||||
if($this->socket)
|
||||
{
|
||||
socket_set_timeout($this->socket,$timeout,0);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user