mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Catch error didn't like being put in an array
This commit is contained in:
@@ -80,7 +80,7 @@ class Clublog extends CI_Controller {
|
||||
$info = curl_getinfo($request);
|
||||
|
||||
if(curl_errno($request)) {
|
||||
$catch_error = curl_error($request);
|
||||
echo curl_error($request);
|
||||
}
|
||||
curl_close ($request);
|
||||
|
||||
@@ -92,7 +92,7 @@ class Clublog extends CI_Controller {
|
||||
$this->load->model('clublog_model');
|
||||
$this->clublog_model->mark_qsos_sent();
|
||||
} else {
|
||||
echo $catch_error;
|
||||
echo "Error";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user