{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/25496697","id":25496697,"diff_hunk":"@@ -606,7 +631,7 @@ function phpbb_mcp_sorting($mode, &$sort_days, &$sort_key, &$sort_dir, &$sort_by\n \t\t$total = (int) $db->sql_fetchfield('total');\n \t\t$db->sql_freeresult($result);\n \t}\n-\telse\n+\telse if ( $total < -1)","path":"phpBB/includes/functions_mcp.php","position":88,"original_position":88,"commit_id":"1e73f8d5eafda476192d95bc5ff8ec8b48d75381","original_commit_id":"1e73f8d5eafda476192d95bc5ff8ec8b48d75381","user":{"login":"marc1706","id":394418,"avatar_url":"https://avatars.githubusercontent.com/u/394418?v=3","gravatar_id":"","url":"https://api.github.com/users/marc1706","html_url":"https://github.com/marc1706","followers_url":"https://api.github.com/users/marc1706/followers","following_url":"https://api.github.com/users/marc1706/following{/other_user}","gists_url":"https://api.github.com/users/marc1706/gists{/gist_id}","starred_url":"https://api.github.com/users/marc1706/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marc1706/subscriptions","organizations_url":"https://api.github.com/users/marc1706/orgs","repos_url":"https://api.github.com/users/marc1706/repos","events_url":"https://api.github.com/users/marc1706/events{/privacy}","received_events_url":"https://api.github.com/users/marc1706/received_events","type":"User","site_admin":false},"body":"Please remove the space before $total","created_at":"2015-02-27T09:54:24Z","updated_at":"2015-02-27T09:54:24Z","html_url":"https://github.com/phpbb/phpbb/pull/3450#discussion_r25496697","pull_request_url":"https://api.github.com/repos/phpbb/phpbb/pulls/3450","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/25496697"},"html":{"href":"https://github.com/phpbb/phpbb/pull/3450#discussion_r25496697"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3450"}}},"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/3450","id":30075917,"html_url":"https://github.com/phpbb/phpbb/pull/3450","diff_url":"https://github.com/phpbb/phpbb/pull/3450.diff","patch_url":"https://github.com/phpbb/phpbb/pull/3450.patch","issue_url":"https://api.github.com/repos/phpbb/phpbb/issues/3450","number":3450,"state":"open","locked":false,"title":"[ticket/13142] Before query to get the total number of reports","user":{"login":"brunoais","id":639467,"avatar_url":"https://avatars.githubusercontent.com/u/639467?v=3","gravatar_id":"","url":"https://api.github.com/users/brunoais","html_url":"https://github.com/brunoais","followers_url":"https://api.github.com/users/brunoais/followers","following_url":"https://api.github.com/users/brunoais/following{/other_user}","gists_url":"https://api.github.com/users/brunoais/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoais/subscriptions","organizations_url":"https://api.github.com/users/brunoais/orgs","repos_url":"https://api.github.com/users/brunoais/repos","events_url":"https://api.github.com/users/brunoais/events{/privacy}","received_events_url":"https://api.github.com/users/brunoais/received_events","type":"User","site_admin":false},"body":"Followup to:\r\nhttps://github.com/phpbb/phpbb/pull/3197\r\n\r\nPlacing the event in a more meaningful place.\r\n\r\nRequires\r\n#3447\r\nto work.\r\n\r\nhttps://tracker.phpbb.com/browse/PHPBB3-13142","created_at":"2015-02-26T13:09:33Z","updated_at":"2015-02-27T09:54:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a0792bc983924eed36bb47c386373ec132c65272","assignee":null,"milestone":{"url":"https://api.github.com/repos/phpbb/phpbb/milestones/5","html_url":"https://github.com/phpbb/phpbb/milestones/3.1.4","labels_url":"https://api.github.com/repos/phpbb/phpbb/milestones/5/labels","id":915045,"number":5,"title":"3.1.4","description":"","creator":{"login":"nickvergessen","id":213943,"avatar_url":"https://avatars.githubusercontent.com/u/213943?v=3","gravatar_id":"","url":"https://api.github.com/users/nickvergessen","html_url":"https://github.com/nickvergessen","followers_url":"https://api.github.com/users/nickvergessen/followers","following_url":"https://api.github.com/users/nickvergessen/following{/other_user}","gists_url":"https://api.github.com/users/nickvergessen/gists{/gist_id}","starred_url":"https://api.github.com/users/nickvergessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickvergessen/subscriptions","organizations_url":"https://api.github.com/users/nickvergessen/orgs","repos_url":"https://api.github.com/users/nickvergessen/repos","events_url":"https://api.github.com/users/nickvergessen/events{/privacy}","received_events_url":"https://api.github.com/users/nickvergessen/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":57,"state":"open","created_at":"2014-12-26T08:23:11Z","updated_at":"2015-02-26T21:58:37Z","due_on":"2015-03-12T23:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/phpbb/phpbb/pulls/3450/commits","review_comments_url":"https://api.github.com/repos/phpbb/phpbb/pulls/3450/comments","review_comment_url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbb/phpbb/issues/3450/comments","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/1e73f8d5eafda476192d95bc5ff8ec8b48d75381","head":{"label":"brunoais:ticket/13142","ref":"ticket/13142","sha":"1e73f8d5eafda476192d95bc5ff8ec8b48d75381","user":{"login":"brunoais","id":639467,"avatar_url":"https://avatars.githubusercontent.com/u/639467?v=3","gravatar_id":"","url":"https://api.github.com/users/brunoais","html_url":"https://github.com/brunoais","followers_url":"https://api.github.com/users/brunoais/followers","following_url":"https://api.github.com/users/brunoais/following{/other_user}","gists_url":"https://api.github.com/users/brunoais/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoais/subscriptions","organizations_url":"https://api.github.com/users/brunoais/orgs","repos_url":"https://api.github.com/users/brunoais/repos","events_url":"https://api.github.com/users/brunoais/events{/privacy}","received_events_url":"https://api.github.com/users/brunoais/received_events","type":"User","site_admin":false},"repo":{"id":3264736,"name":"phpbb","full_name":"brunoais/phpbb","owner":{"login":"brunoais","id":639467,"avatar_url":"https://avatars.githubusercontent.com/u/639467?v=3","gravatar_id":"","url":"https://api.github.com/users/brunoais","html_url":"https://github.com/brunoais","followers_url":"https://api.github.com/users/brunoais/followers","following_url":"https://api.github.com/users/brunoais/following{/other_user}","gists_url":"https://api.github.com/users/brunoais/gists{/gist_id}","starred_url":"https://api.github.com/users/brunoais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunoais/subscriptions","organizations_url":"https://api.github.com/users/brunoais/orgs","repos_url":"https://api.github.com/users/brunoais/repos","events_url":"https://api.github.com/users/brunoais/events{/privacy}","received_events_url":"https://api.github.com/users/brunoais/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brunoais/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":true,"url":"https://api.github.com/repos/brunoais/phpbb","forks_url":"https://api.github.com/repos/brunoais/phpbb/forks","keys_url":"https://api.github.com/repos/brunoais/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brunoais/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brunoais/phpbb/teams","hooks_url":"https://api.github.com/repos/brunoais/phpbb/hooks","issue_events_url":"https://api.github.com/repos/brunoais/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/brunoais/phpbb/events","assignees_url":"https://api.github.com/repos/brunoais/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/brunoais/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/brunoais/phpbb/tags","blobs_url":"https://api.github.com/repos/brunoais/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brunoais/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brunoais/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/brunoais/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brunoais/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/brunoais/phpbb/languages","stargazers_url":"https://api.github.com/repos/brunoais/phpbb/stargazers","contributors_url":"https://api.github.com/repos/brunoais/phpbb/contributors","subscribers_url":"https://api.github.com/repos/brunoais/phpbb/subscribers","subscription_url":"https://api.github.com/repos/brunoais/phpbb/subscription","commits_url":"https://api.github.com/repos/brunoais/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/brunoais/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/brunoais/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/brunoais/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/brunoais/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/brunoais/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brunoais/phpbb/merges","archive_url":"https://api.github.com/repos/brunoais/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brunoais/phpbb/downloads","issues_url":"https://api.github.com/repos/brunoais/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/brunoais/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/brunoais/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/brunoais/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brunoais/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/brunoais/phpbb/releases{/id}","created_at":"2012-01-25T12:51:32Z","updated_at":"2015-01-06T09:19:39Z","pushed_at":"2015-02-27T08:34:40Z","git_url":"git://github.com/brunoais/phpbb.git","ssh_url":"git@github.com:brunoais/phpbb.git","clone_url":"https://github.com/brunoais/phpbb.git","svn_url":"https://github.com/brunoais/phpbb","homepage":"http://www.phpbb.com","size":53472,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"develop"}},"base":{"label":"phpbb:3.1.x","ref":"3.1.x","sha":"3ac583271f9d2557a1a89ab90e40f9baf6ed8b6d","user":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"repo":{"id":541983,"name":"phpbb","full_name":"phpbb/phpbb","owner":{"login":"phpbb","id":176697,"avatar_url":"https://avatars.githubusercontent.com/u/176697?v=3","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":false,"url":"https://api.github.com/repos/phpbb/phpbb","forks_url":"https://api.github.com/repos/phpbb/phpbb/forks","keys_url":"https://api.github.com/repos/phpbb/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/phpbb/teams","hooks_url":"https://api.github.com/repos/phpbb/phpbb/hooks","issue_events_url":"https://api.github.com/repos/phpbb/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/phpbb/events","assignees_url":"https://api.github.com/repos/phpbb/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/phpbb/tags","blobs_url":"https://api.github.com/repos/phpbb/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/phpbb/languages","stargazers_url":"https://api.github.com/repos/phpbb/phpbb/stargazers","contributors_url":"https://api.github.com/repos/phpbb/phpbb/contributors","subscribers_url":"https://api.github.com/repos/phpbb/phpbb/subscribers","subscription_url":"https://api.github.com/repos/phpbb/phpbb/subscription","commits_url":"https://api.github.com/repos/phpbb/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbb/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/phpbb/merges","archive_url":"https://api.github.com/repos/phpbb/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/phpbb/downloads","issues_url":"https://api.github.com/repos/phpbb/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/phpbb/releases{/id}","created_at":"2010-03-01T22:33:17Z","updated_at":"2015-02-26T21:53:45Z","pushed_at":"2015-02-26T21:53:45Z","git_url":"git://github.com/phpbb/phpbb.git","ssh_url":"git@github.com:phpbb/phpbb.git","clone_url":"https://github.com/phpbb/phpbb.git","svn_url":"https://github.com/phpbb/phpbb","homepage":"http://www.phpbb.com","size":105691,"stargazers_count":717,"watchers_count":717,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":433,"mirror_url":null,"open_issues_count":77,"forks":433,"open_issues":77,"watchers":717,"default_branch":"3.1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3450"},"html":{"href":"https://github.com/phpbb/phpbb/pull/3450"},"issue":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/3450"},"comments":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/3450/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3450/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/3450/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/phpbb/statuses/1e73f8d5eafda476192d95bc5ff8ec8b48d75381"}}}}