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