fix getUptime(), previous request endpoint returned always zero, now it returns the...
authorStricted <info@stricted.de>
Thu, 6 Aug 2015 07:39:19 +0000 (09:39 +0200)
committerStricted <info@stricted.de>
Thu, 6 Aug 2015 07:39:19 +0000 (09:39 +0200)
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'];