{"action":"created","issue":{"url":"https://api.github.com/repos/xfrocks/bdReputation/issues/1","labels_url":"https://api.github.com/repos/xfrocks/bdReputation/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/xfrocks/bdReputation/issues/1/comments","events_url":"https://api.github.com/repos/xfrocks/bdReputation/issues/1/events","html_url":"https://github.com/xfrocks/bdReputation/pull/1","id":64088438,"number":1,"title":"Fix SQL query error when threads contain no posts","user":{"login":"Ralle","id":467309,"avatar_url":"https://avatars.githubusercontent.com/u/467309?v=3","gravatar_id":"","url":"https://api.github.com/users/Ralle","html_url":"https://github.com/Ralle","followers_url":"https://api.github.com/users/Ralle/followers","following_url":"https://api.github.com/users/Ralle/following{/other_user}","gists_url":"https://api.github.com/users/Ralle/gists{/gist_id}","starred_url":"https://api.github.com/users/Ralle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ralle/subscriptions","organizations_url":"https://api.github.com/users/Ralle/orgs","repos_url":"https://api.github.com/users/Ralle/repos","events_url":"https://api.github.com/users/Ralle/events{/privacy}","received_events_url":"https://api.github.com/users/Ralle/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-24T20:09:14Z","updated_at":"2015-03-25T03:15:08Z","closed_at":"2015-03-25T03:10:29Z","pull_request":{"url":"https://api.github.com/repos/xfrocks/bdReputation/pulls/1","html_url":"https://github.com/xfrocks/bdReputation/pull/1","diff_url":"https://github.com/xfrocks/bdReputation/pull/1.diff","patch_url":"https://github.com/xfrocks/bdReputation/pull/1.patch"},"body":"Hello xfrocks,\r\n\r\nAs promised, here is the pull request.\r\n\r\n\"1 = 0\" may look weird but it was the most correct way to fix it with as few line edits as possible."},"comment":{"url":"https://api.github.com/repos/xfrocks/bdReputation/issues/comments/85808571","html_url":"https://github.com/xfrocks/bdReputation/pull/1#issuecomment-85808571","issue_url":"https://api.github.com/repos/xfrocks/bdReputation/issues/1","id":85808571,"user":{"login":"daohoangson","id":239336,"avatar_url":"https://avatars.githubusercontent.com/u/239336?v=3","gravatar_id":"","url":"https://api.github.com/users/daohoangson","html_url":"https://github.com/daohoangson","followers_url":"https://api.github.com/users/daohoangson/followers","following_url":"https://api.github.com/users/daohoangson/following{/other_user}","gists_url":"https://api.github.com/users/daohoangson/gists{/gist_id}","starred_url":"https://api.github.com/users/daohoangson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daohoangson/subscriptions","organizations_url":"https://api.github.com/users/daohoangson/orgs","repos_url":"https://api.github.com/users/daohoangson/repos","events_url":"https://api.github.com/users/daohoangson/events{/privacy}","received_events_url":"https://api.github.com/users/daohoangson/received_events","type":"User","site_admin":false},"created_at":"2015-03-25T03:15:08Z","updated_at":"2015-03-25T03:15:08Z","body":"While refactoring for XenForo 1.2.0+, I have added a check before calling the `getAllFromGivenUserForPostIds()` so it will no longer being called with an empty array (thread with no posts)."}}