From: Stricted Date: Thu, 6 Aug 2015 07:39:19 +0000 (+0200) Subject: fix getUptime(), previous request endpoint returned always zero, now it returns the... X-Git-Tag: 1.0.5~10 X-Git-Url: https://git.stricted.de/?p=GitHub%2FStricted%2Fspeedport-hybrid-php-api.git;a=commitdiff_plain;h=42e31077d5111ef592cd3ec8a60b45e7b0d3bdda fix getUptime(), previous request endpoint returned always zero, now it returns the real internet connection time --- diff --git a/lib/trait/System.class.php b/lib/trait/System.class.php index 4bf7a27..cf58493 100644 --- a/lib/trait/System.class.php +++ b/lib/trait/System.class.php @@ -11,7 +11,7 @@ trait System { * @return string */ public function getUptime () { - $data = $this->getData('LAN'); + $data = $this->getData('Overview'); $data = $this->getValues($data); return $data['days_online'];