fix getUptime(), previous request endpoint returned always zero, now it returns the...
[GitHub/Stricted/speedport-hybrid-php-api.git] / lib / trait / System.class.php
index 4bf7a279b404abebb1f6b7013c833a89adf3e7f5..cf5849377b4befba89743323aa3235a8d1cacb7f 100644 (file)
@@ -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'];