From 349dde0f722b9e0b26f7ef7c8716ac8e87239df5 Mon Sep 17 00:00:00 2001 From: Michael Rasmussen Date: Wed, 24 Jun 2015 00:26:12 +0200 Subject: [PATCH] prepare for wblistadm server --- rest_client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_client.php b/rest_client.php index 75188f4..179ef70 100644 --- a/rest_client.php +++ b/rest_client.php @@ -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']; } -- 2.39.2