{"action":"opened","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/1627","labels_url":"https://api.github.com/repos/librenms/librenms/issues/1627/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/1627/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/1627/events","html_url":"https://github.com/librenms/librenms/issues/1627","id":99381407,"number":1627,"title":"Uptime update not working","user":{"login":"Calvario","id":12759754,"avatar_url":"https://avatars.githubusercontent.com/u/12759754?v=3","gravatar_id":"","url":"https://api.github.com/users/Calvario","html_url":"https://github.com/Calvario","followers_url":"https://api.github.com/users/Calvario/followers","following_url":"https://api.github.com/users/Calvario/following{/other_user}","gists_url":"https://api.github.com/users/Calvario/gists{/gist_id}","starred_url":"https://api.github.com/users/Calvario/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Calvario/subscriptions","organizations_url":"https://api.github.com/users/Calvario/orgs","repos_url":"https://api.github.com/users/Calvario/repos","events_url":"https://api.github.com/users/Calvario/events{/privacy}","received_events_url":"https://api.github.com/users/Calvario/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-06T08:02:59Z","updated_at":"2015-08-06T08:02:59Z","closed_at":null,"body":"Hello @SaaldjorMike,\r\n\r\nSince this commit #1610 the uptime will not updated on devices.\r\n\r\n-        $update_array['last_polled']           = array('NOW()');\r\n-        $update_array['last_polled_timetaken'] = $device_time;\r\n-        $update_array['last_ping']             = array('NOW()');\r\n-        $update_array['last_ping_timetaken']   = $ping_time;\r\n+        $update_array = array(\r\n+            'last_polled'           => array('NOW()'),\r\n+            'last_polled_timetaken' => $device_time,\r\n+            'last_ping'             => array('NOW()'),\r\n+            'last_ping_timetaken'   => $ping_time,\r\n+        );\r\n\r\nThis part of code make the problem.\r\n\r\nThanks."}}