{"action":"created","issue":{"url":"https://api.github.com/repos/Admidio/admidio/issues/70","labels_url":"https://api.github.com/repos/Admidio/admidio/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/Admidio/admidio/issues/70/comments","events_url":"https://api.github.com/repos/Admidio/admidio/issues/70/events","html_url":"https://github.com/Admidio/admidio/issues/70","id":87655631,"number":70,"title":"Endless loop at checkRolesRight","user":{"login":"sistlind","id":6959674,"avatar_url":"https://avatars.githubusercontent.com/u/6959674?v=3","gravatar_id":"","url":"https://api.github.com/users/sistlind","html_url":"https://github.com/sistlind","followers_url":"https://api.github.com/users/sistlind/followers","following_url":"https://api.github.com/users/sistlind/following{/other_user}","gists_url":"https://api.github.com/users/sistlind/gists{/gist_id}","starred_url":"https://api.github.com/users/sistlind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sistlind/subscriptions","organizations_url":"https://api.github.com/users/sistlind/orgs","repos_url":"https://api.github.com/users/sistlind/repos","events_url":"https://api.github.com/users/sistlind/events{/privacy}","received_events_url":"https://api.github.com/users/sistlind/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Admidio/admidio/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Admidio/admidio/labels/module:system","name":"module:system","color":"bfe5bf"}],"state":"closed","locked":false,"assignee":{"login":"Fasse","id":7038017,"avatar_url":"https://avatars.githubusercontent.com/u/7038017?v=3","gravatar_id":"","url":"https://api.github.com/users/Fasse","html_url":"https://github.com/Fasse","followers_url":"https://api.github.com/users/Fasse/followers","following_url":"https://api.github.com/users/Fasse/following{/other_user}","gists_url":"https://api.github.com/users/Fasse/gists{/gist_id}","starred_url":"https://api.github.com/users/Fasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fasse/subscriptions","organizations_url":"https://api.github.com/users/Fasse/orgs","repos_url":"https://api.github.com/users/Fasse/repos","events_url":"https://api.github.com/users/Fasse/events{/privacy}","received_events_url":"https://api.github.com/users/Fasse/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Admidio/admidio/milestones/2","html_url":"https://github.com/Admidio/admidio/milestones/v3.1","labels_url":"https://api.github.com/repos/Admidio/admidio/milestones/2/labels","id":1008289,"number":2,"title":"v3.1","description":"","creator":{"login":"Fasse","id":7038017,"avatar_url":"https://avatars.githubusercontent.com/u/7038017?v=3","gravatar_id":"","url":"https://api.github.com/users/Fasse","html_url":"https://github.com/Fasse","followers_url":"https://api.github.com/users/Fasse/followers","following_url":"https://api.github.com/users/Fasse/following{/other_user}","gists_url":"https://api.github.com/users/Fasse/gists{/gist_id}","starred_url":"https://api.github.com/users/Fasse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fasse/subscriptions","organizations_url":"https://api.github.com/users/Fasse/orgs","repos_url":"https://api.github.com/users/Fasse/repos","events_url":"https://api.github.com/users/Fasse/events{/privacy}","received_events_url":"https://api.github.com/users/Fasse/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":2,"state":"open","created_at":"2015-03-05T21:32:31Z","updated_at":"2015-07-05T06:48:08Z","due_on":"2016-02-28T23:00:00Z","closed_at":null},"comments":4,"created_at":"2015-06-12T08:26:59Z","updated_at":"2015-07-06T11:55:29Z","closed_at":"2015-07-05T06:48:08Z","body":"Hi,\r\ni encountered and endless loop at user logine here:\r\nhttps://github.com/Admidio/admidio/blob/master/adm_program/system/classes/user.php#L166\r\n\r\n$row = $this->db->fetch_array();\r\nwhile($row)\r\n{....\r\n\r\nshould be changed to:\r\n$row = $this->db->fetch_array();\r\nif($row)\r\n{....\r\n\r\nperhaps a is_array check is a bit better...\r\n\r\nBest regards,\r\nstefan"},"comment":{"url":"https://api.github.com/repos/Admidio/admidio/issues/comments/118832386","html_url":"https://github.com/Admidio/admidio/issues/70#issuecomment-118832386","issue_url":"https://api.github.com/repos/Admidio/admidio/issues/70","id":118832386,"user":{"login":"ximex","id":1078640,"avatar_url":"https://avatars.githubusercontent.com/u/1078640?v=3","gravatar_id":"","url":"https://api.github.com/users/ximex","html_url":"https://github.com/ximex","followers_url":"https://api.github.com/users/ximex/followers","following_url":"https://api.github.com/users/ximex/following{/other_user}","gists_url":"https://api.github.com/users/ximex/gists{/gist_id}","starred_url":"https://api.github.com/users/ximex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximex/subscriptions","organizations_url":"https://api.github.com/users/ximex/orgs","repos_url":"https://api.github.com/users/ximex/repos","events_url":"https://api.github.com/users/ximex/events{/privacy}","received_events_url":"https://api.github.com/users/ximex/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T11:55:29Z","updated_at":"2015-07-06T11:55:29Z","body":"@Fasse i didn't found any other"}}