{"comment":{"url":"https://api.github.com/repos/sa31fh/ims/comments/16226957","html_url":"https://github.com/sa31fh/ims/commit/9c8eb0a506dc3dacdbfc1806249b6dcbf7436e03#commitcomment-16226957","id":16226957,"user":{"login":"sa31fh","id":182206,"avatar_url":"https://avatars.githubusercontent.com/u/182206?v=3","gravatar_id":"","url":"https://api.github.com/users/sa31fh","html_url":"https://github.com/sa31fh","followers_url":"https://api.github.com/users/sa31fh/followers","following_url":"https://api.github.com/users/sa31fh/following{/other_user}","gists_url":"https://api.github.com/users/sa31fh/gists{/gist_id}","starred_url":"https://api.github.com/users/sa31fh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sa31fh/subscriptions","organizations_url":"https://api.github.com/users/sa31fh/orgs","repos_url":"https://api.github.com/users/sa31fh/repos","events_url":"https://api.github.com/users/sa31fh/events{/privacy}","received_events_url":"https://api.github.com/users/sa31fh/received_events","type":"User","site_admin":false},"position":7,"line":9,"path":"database/user_role_table.php","commit_id":"9c8eb0a506dc3dacdbfc1806249b6dcbf7436e03","created_at":"2016-02-21T14:32:41Z","updated_at":"2016-02-21T14:32:41Z","body":"This is incorrect. Your function name is get_roles and you're returning a mysql_result object? You should be returning an array/list of roles in the database."}}