projects
/
GitHub
/
Stricted
/
speedport-hybrid-php-api.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix getUptime(), previous request endpoint returned always zero, now it returns the...
[GitHub/Stricted/speedport-hybrid-php-api.git]
/
lib
/
trait
/
System.class.php
diff --git
a/lib/trait/System.class.php
b/lib/trait/System.class.php
index 4bf7a279b404abebb1f6b7013c833a89adf3e7f5..cf5849377b4befba89743323aa3235a8d1cacb7f 100644
(file)
--- a/
lib/trait/System.class.php
+++ b/
lib/trait/System.class.php
@@
-11,7
+11,7
@@
trait System {
* @return string
*/
public function getUptime () {
* @return string
*/
public function getUptime () {
- $data = $this->getData('
LAN
');
+ $data = $this->getData('
Overview
');
$data = $this->getValues($data);
return $data['days_online'];
$data = $this->getValues($data);
return $data['days_online'];