fix reconnectLte master
authorStricted <info@stricted.net>
Wed, 7 Nov 2018 22:09:17 +0000 (23:09 +0100)
committerStricted <info@stricted.net>
Wed, 7 Nov 2018 22:15:35 +0000 (23:15 +0100)
Change-Id: Id804d32a7c64b9a56356be55bf342b0ce3d77792

lib/trait/Connection.class.php

index 7552601dcff2dd923cfd3322a3c0ae012f34e343..51b94073d3d2908a2fa640faa02c29ca5e55f8c6 100644 (file)
@@ -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;
                }