mirror of
https://github.com/hakasenyang/osu-tournament-php
synced 2026-08-22 03:03:07 +09:00
Fix error
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
}
|
||||
|
||||
$data = curl_exec($ch);
|
||||
if (curl_errno($ch))
|
||||
return false;
|
||||
curl_close($ch);
|
||||
if ($curl_errno > 0)
|
||||
$this->ErrorEcho(14, 'Connect Error!!!');
|
||||
return ($data) ? $data : false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user