From 5b40b9c92d17334a29473c1c10558344659995d0 Mon Sep 17 00:00:00 2001 From: Stricted Date: Wed, 7 Nov 2018 23:09:17 +0100 Subject: [PATCH] fix reconnectLte Change-Id: Id804d32a7c64b9a56356be55bf342b0ce3d77792 --- lib/trait/Connection.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/trait/Connection.class.php b/lib/trait/Connection.class.php index 7552601..51b9407 100644 --- a/lib/trait/Connection.class.php +++ b/lib/trait/Connection.class.php @@ -79,6 +79,8 @@ trait Connection { $path = 'data/modules.json'; $fields = array('csrf_token' => $this->token, 'lte_reconn' => '1'); $data = $this->sendEncryptedRequest($path, $fields, true); + $data = $this->getValues($data['body']); + if ($data['status'] == 'ok') { return true; } -- 2.20.1