From 5c5163111202fb91d120b8f9c7bdfb886efe4998 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Wed, 19 Jun 2019 16:23:41 +0100 Subject: [PATCH] Update Clublog.php --- application/controllers/Clublog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/Clublog.php b/application/controllers/Clublog.php index b2f4fc4f..da9a97b1 100644 --- a/application/controllers/Clublog.php +++ b/application/controllers/Clublog.php @@ -62,9 +62,9 @@ class Clublog extends CI_Controller { // output the response curl_setopt($request, CURLOPT_RETURNTRANSFER, true); - $results = curl_exec($request); + echo curl_exec($request); - echo $results; + $results = $request; // close the session curl_close($request);