]> git.datanom.net - qtadmin.git/blobdiff - rest_client.php
prepare for wblistadm server
[qtadmin.git] / rest_client.php
index 71824944510309c92fe1a99c910ae327a37af2ef..e50f923d716ca8b7a5ffcacc4b817c4cf17dea25 100644 (file)
@@ -36,7 +36,7 @@ if (! isset($_SESSION['ticket'])) {
         $_SESSION['cookies'] = $response['cookies'];
     }
 } else {
-    $response = $util->RESTCall($CFG->wblistadm_url.'/show', $data, $cookiesIn = $_SESSION['cookies']);
+    $response = $util->RESTCall($CFG->wblistadm_url.'/show', $_SESSION['CSRFPreventionToken'], $cookiesIn = $_SESSION['cookies']);
     if ($response['http_code'] >= 200 && $response['http_code'] <= 204) {
         $data = json_decode($response['content']);
         $_SESSION['CSRFPreventionToken'] = 'CSRFPreventionToken='.$ticket->data->CSRFPreventionToken;
This page took 0.048303 seconds and 5 git commands to generate.