$ticket = $cookies = null;
$data = 'username=mir@miras.org&password=Clara0503';
-$response = $util->RESTCall($CFG->wblistadm_url.'/ticket', $data, $cookiesIn = '')
+$response = $util->RESTCall($CFG->wblistadm_url.'/ticket', $data, $cookiesIn = '');
if ($response['http_code'] >= 200 && $response['http_code'] <= 204) {
$ticket = json_decode($response['content']);
$cookies = $response['cookies'];