Some more notices (#5424)
This commit is contained in:
committed by
Hypolite Petovan
parent
4f2ae88684
commit
7382be2766
@@ -1189,7 +1189,7 @@ class DFRN
|
||||
|
||||
$ret = Network::curl($url);
|
||||
|
||||
if ($ret['errno'] == CURLE_OPERATION_TIMEDOUT) {
|
||||
if (!empty($ret["errno"]) && ($ret['errno'] == CURLE_OPERATION_TIMEDOUT)) {
|
||||
Contact::markForArchival($contact);
|
||||
return -2; // timed out
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user