GitHub PullRequestReviewCommentEvent at 2014-05-28 17:02:15
Repository: phpbb
Actor: bantu
Payload: {"comment":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/13142327","id":13142327,"diff_hunk":"@@ -267,7 +269,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod\n \t\t}\n \t\telse if ($row['forum_type'] != FORUM_CAT)\n \t\t{\n-\t\t\t$subforums[$parent_id][$forum_id]['display'] = ($row['display_on_index']) ? true : false;\n+\t\t\t$subforums[$parent_id][$forum_id]['display'] = ($row['display_on_index'] && !($parent_subforum_limit && $parent_id !== $row['parent_id'])) ? true : false;","path":"phpBB/includes/functions_display.php","position":21,"original_position":21,"commit_id":"5e66b3d9c0b8faeee3f3033b8e1f7ba82f6e2172","original_commit_id":"5e66b3d9c0b8faeee3f3033b8e1f7ba82f6e2172","user":{"login":"bantu","id":189375,"avatar_url":"https://avatars.githubusercontent.com/u/189375?","gravatar_id":"88483d87947219efecfc570465c753b2","url":"https://api.github.com/users/bantu","html_url":"https://github.com/bantu","followers_url":"https://api.github.com/users/bantu/followers","following_url":"https://api.github.com/users/bantu/following{/other_user}","gists_url":"https://api.github.com/users/bantu/gists{/gist_id}","starred_url":"https://api.github.com/users/bantu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bantu/subscriptions","organizations_url":"https://api.github.com/users/bantu/orgs","repos_url":"https://api.github.com/users/bantu/repos","events_url":"https://api.github.com/users/bantu/events{/privacy}","received_events_url":"https://api.github.com/users/bantu/received_events","type":"User","site_admin":false},"body":"Please apply DeMorgan to the last part of the expression and remove the uncesseary true : false.","created_at":"2014-05-28T17:02:15Z","updated_at":"2014-05-28T17:02:15Z","html_url":"https://github.com/phpbb/phpbb/pull/2473#discussion_r13142327","pull_request_url":"https://api.github.com/repos/phpbb/phpbb/pulls/2473","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/13142327"},"html":{"href":"https://github.com/phpbb/phpbb/pull/2473#discussion_r13142327"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/2473"}}}}