]> git.datanom.net - qtadmin.git/blobdiff - rest_client.php
prepare for wblistadm server
[qtadmin.git] / rest_client.php
index 75188f4d17c2c131c0d700c0b9b3b866c86c4636..179ef704bdd72478b99c23e71765596d00ca1722 100644 (file)
@@ -28,7 +28,7 @@ $util = new Utils;
 $ticket = $cookies = null;
 $data = 'username=mir@miras.org&password=Clara0503';
 $response = $util->RESTCall($CFG->wblistadm_url.'/ticket', $data, $cookiesIn = '')
-if ($response['http_code'] >= 200 and $response['http_code'] <= 204) {
+if ($response['http_code'] >= 200 && $response['http_code'] <= 204) {
     $ticket = json_decode($response['content']);
     $cookies = $response['cookies'];
 }
This page took 0.044956 seconds and 5 git commands to generate.