projects
/
GitHub
/
Stricted
/
speedport-hybrid-php-api.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3648460
)
fix reconnectLte
master
author
Stricted
<info@stricted.net>
Wed, 7 Nov 2018 22:09:17 +0000
(23:09 +0100)
committer
Stricted
<info@stricted.net>
Wed, 7 Nov 2018 22:15:35 +0000
(23:15 +0100)
Change-Id: Id804d32a7c64b9a56356be55bf342b0ce3d77792
lib/trait/Connection.class.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/trait/Connection.class.php
b/lib/trait/Connection.class.php
index 7552601dcff2dd923cfd3322a3c0ae012f34e343..51b94073d3d2908a2fa640faa02c29ca5e55f8c6 100644
(file)
--- 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;
}