More code changes

pull/302/head
Peter Goodhall 2019-06-19 17:11:15 +01:00
rodzic dcf3548cff
commit cb2ba3fd8d
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -66,13 +66,12 @@ class Clublog extends CI_Controller {
curl_setopt($request, CURLOPT_RETURNTRANSFER, true);
echo curl_exec($request);
$results = $request;
$results = strval($request);
// close the session
curl_close($request);
$check = strpos($results, 'accepted');
// If Clublog Accepts mark the QSOs
if (strpos($results, 'accepted') !== false) {
if ($check !== false) {
$this->clublog_model->mark_qsos_sent();
echo "QSOs uploaded and Logbook QSOs marked as sent to Clublog";