{"action":"created","comment":{"url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/comments/108098815","pull_request_review_id":29107435,"id":108098815,"diff_hunk":"@@ -255,10 +256,11 @@ public function export() {\n                 ->setCellValue('A' . $i, $i - 1)\n                 ->setCellValue('B' . $i, $item['name'])\n                 ->setCellValue('C' . $i, $GLOBALS['GENDER'][$item['gender']])\n-                ->setCellValue('D' . $i, \"'\" . $item['id_number'])\n-                ->setCellValue('E' . $i, $school['school'])\n-                ->setCellValue('F' . $i, $item['tel'])\n-                ->setCellValue('G' . $i, $GLOBALS['ACCOMMODATION'][$item['accommodation']]);\n+                ->setCellValue('D' . $i, $GLOBALS['ID_TYPE'][$item['id_type']])\n+                ->setCellValue('E' . $i, \"'\" . $item['id_number'])","path":"application/controllers/admin.php","position":25,"original_position":25,"commit_id":"195066f4073d0d5b96fdbf6f9f5a3c0ccaf752d0","original_commit_id":"195066f4073d0d5b96fdbf6f9f5a3c0ccaf752d0","user":{"login":"huxuan","id":726061,"avatar_url":"https://avatars1.githubusercontent.com/u/726061?v=3","gravatar_id":"","url":"https://api.github.com/users/huxuan","html_url":"https://github.com/huxuan","followers_url":"https://api.github.com/users/huxuan/followers","following_url":"https://api.github.com/users/huxuan/following{/other_user}","gists_url":"https://api.github.com/users/huxuan/gists{/gist_id}","starred_url":"https://api.github.com/users/huxuan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huxuan/subscriptions","organizations_url":"https://api.github.com/users/huxuan/orgs","repos_url":"https://api.github.com/users/huxuan/repos","events_url":"https://api.github.com/users/huxuan/events{/privacy}","received_events_url":"https://api.github.com/users/huxuan/received_events","type":"User","site_admin":false},"body":"Gotcha.","created_at":"2017-03-27T06:35:16Z","updated_at":"2017-03-27T06:35:16Z","html_url":"https://github.com/CAPU-ENG/CAPUrace/pull/243#discussion_r108098815","pull_request_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243","_links":{"self":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/comments/108098815"},"html":{"href":"https://github.com/CAPU-ENG/CAPUrace/pull/243#discussion_r108098815"},"pull_request":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243"}}},"pull_request":{"url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243","id":112616883,"html_url":"https://github.com/CAPU-ENG/CAPUrace/pull/243","diff_url":"https://github.com/CAPU-ENG/CAPUrace/pull/243.diff","patch_url":"https://github.com/CAPU-ENG/CAPUrace/pull/243.patch","issue_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues/243","number":243,"state":"open","locked":false,"title":"Export excel.","user":{"login":"JeldorPKU","id":8514953,"avatar_url":"https://avatars0.githubusercontent.com/u/8514953?v=3","gravatar_id":"","url":"https://api.github.com/users/JeldorPKU","html_url":"https://github.com/JeldorPKU","followers_url":"https://api.github.com/users/JeldorPKU/followers","following_url":"https://api.github.com/users/JeldorPKU/following{/other_user}","gists_url":"https://api.github.com/users/JeldorPKU/gists{/gist_id}","starred_url":"https://api.github.com/users/JeldorPKU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeldorPKU/subscriptions","organizations_url":"https://api.github.com/users/JeldorPKU/orgs","repos_url":"https://api.github.com/users/JeldorPKU/repos","events_url":"https://api.github.com/users/JeldorPKU/events{/privacy}","received_events_url":"https://api.github.com/users/JeldorPKU/received_events","type":"User","site_admin":false},"body":"Fix the export feature.","created_at":"2017-03-26T06:47:44Z","updated_at":"2017-03-27T06:35:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14e5f40dc0111b69f2c4a25a4d5a17e222a1c0df","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243/commits","review_comments_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243/comments","review_comment_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues/243/comments","statuses_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/statuses/195066f4073d0d5b96fdbf6f9f5a3c0ccaf752d0","head":{"label":"JeldorPKU:export-excel","ref":"export-excel","sha":"195066f4073d0d5b96fdbf6f9f5a3c0ccaf752d0","user":{"login":"JeldorPKU","id":8514953,"avatar_url":"https://avatars0.githubusercontent.com/u/8514953?v=3","gravatar_id":"","url":"https://api.github.com/users/JeldorPKU","html_url":"https://github.com/JeldorPKU","followers_url":"https://api.github.com/users/JeldorPKU/followers","following_url":"https://api.github.com/users/JeldorPKU/following{/other_user}","gists_url":"https://api.github.com/users/JeldorPKU/gists{/gist_id}","starred_url":"https://api.github.com/users/JeldorPKU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeldorPKU/subscriptions","organizations_url":"https://api.github.com/users/JeldorPKU/orgs","repos_url":"https://api.github.com/users/JeldorPKU/repos","events_url":"https://api.github.com/users/JeldorPKU/events{/privacy}","received_events_url":"https://api.github.com/users/JeldorPKU/received_events","type":"User","site_admin":false},"repo":{"id":27877639,"name":"capurace","full_name":"JeldorPKU/capurace","owner":{"login":"JeldorPKU","id":8514953,"avatar_url":"https://avatars0.githubusercontent.com/u/8514953?v=3","gravatar_id":"","url":"https://api.github.com/users/JeldorPKU","html_url":"https://github.com/JeldorPKU","followers_url":"https://api.github.com/users/JeldorPKU/followers","following_url":"https://api.github.com/users/JeldorPKU/following{/other_user}","gists_url":"https://api.github.com/users/JeldorPKU/gists{/gist_id}","starred_url":"https://api.github.com/users/JeldorPKU/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeldorPKU/subscriptions","organizations_url":"https://api.github.com/users/JeldorPKU/orgs","repos_url":"https://api.github.com/users/JeldorPKU/repos","events_url":"https://api.github.com/users/JeldorPKU/events{/privacy}","received_events_url":"https://api.github.com/users/JeldorPKU/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JeldorPKU/capurace","description":"Registeration system for race organized by CAPU","fork":true,"url":"https://api.github.com/repos/JeldorPKU/capurace","forks_url":"https://api.github.com/repos/JeldorPKU/capurace/forks","keys_url":"https://api.github.com/repos/JeldorPKU/capurace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JeldorPKU/capurace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JeldorPKU/capurace/teams","hooks_url":"https://api.github.com/repos/JeldorPKU/capurace/hooks","issue_events_url":"https://api.github.com/repos/JeldorPKU/capurace/issues/events{/number}","events_url":"https://api.github.com/repos/JeldorPKU/capurace/events","assignees_url":"https://api.github.com/repos/JeldorPKU/capurace/assignees{/user}","branches_url":"https://api.github.com/repos/JeldorPKU/capurace/branches{/branch}","tags_url":"https://api.github.com/repos/JeldorPKU/capurace/tags","blobs_url":"https://api.github.com/repos/JeldorPKU/capurace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JeldorPKU/capurace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JeldorPKU/capurace/git/refs{/sha}","trees_url":"https://api.github.com/repos/JeldorPKU/capurace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JeldorPKU/capurace/statuses/{sha}","languages_url":"https://api.github.com/repos/JeldorPKU/capurace/languages","stargazers_url":"https://api.github.com/repos/JeldorPKU/capurace/stargazers","contributors_url":"https://api.github.com/repos/JeldorPKU/capurace/contributors","subscribers_url":"https://api.github.com/repos/JeldorPKU/capurace/subscribers","subscription_url":"https://api.github.com/repos/JeldorPKU/capurace/subscription","commits_url":"https://api.github.com/repos/JeldorPKU/capurace/commits{/sha}","git_commits_url":"https://api.github.com/repos/JeldorPKU/capurace/git/commits{/sha}","comments_url":"https://api.github.com/repos/JeldorPKU/capurace/comments{/number}","issue_comment_url":"https://api.github.com/repos/JeldorPKU/capurace/issues/comments{/number}","contents_url":"https://api.github.com/repos/JeldorPKU/capurace/contents/{+path}","compare_url":"https://api.github.com/repos/JeldorPKU/capurace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JeldorPKU/capurace/merges","archive_url":"https://api.github.com/repos/JeldorPKU/capurace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JeldorPKU/capurace/downloads","issues_url":"https://api.github.com/repos/JeldorPKU/capurace/issues{/number}","pulls_url":"https://api.github.com/repos/JeldorPKU/capurace/pulls{/number}","milestones_url":"https://api.github.com/repos/JeldorPKU/capurace/milestones{/number}","notifications_url":"https://api.github.com/repos/JeldorPKU/capurace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JeldorPKU/capurace/labels{/name}","releases_url":"https://api.github.com/repos/JeldorPKU/capurace/releases{/id}","deployments_url":"https://api.github.com/repos/JeldorPKU/capurace/deployments","created_at":"2014-12-11T15:23:24Z","updated_at":"2017-03-07T13:24:24Z","pushed_at":"2017-03-26T06:45:27Z","git_url":"git://github.com/JeldorPKU/capurace.git","ssh_url":"git@github.com:JeldorPKU/capurace.git","clone_url":"https://github.com/JeldorPKU/capurace.git","svn_url":"https://github.com/JeldorPKU/capurace","homepage":null,"size":23876,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CAPU-ENG:master","ref":"master","sha":"4f49e0426116160c1c5bd026666fd89d8d84660b","user":{"login":"CAPU-ENG","id":8847242,"avatar_url":"https://avatars3.githubusercontent.com/u/8847242?v=3","gravatar_id":"","url":"https://api.github.com/users/CAPU-ENG","html_url":"https://github.com/CAPU-ENG","followers_url":"https://api.github.com/users/CAPU-ENG/followers","following_url":"https://api.github.com/users/CAPU-ENG/following{/other_user}","gists_url":"https://api.github.com/users/CAPU-ENG/gists{/gist_id}","starred_url":"https://api.github.com/users/CAPU-ENG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAPU-ENG/subscriptions","organizations_url":"https://api.github.com/users/CAPU-ENG/orgs","repos_url":"https://api.github.com/users/CAPU-ENG/repos","events_url":"https://api.github.com/users/CAPU-ENG/events{/privacy}","received_events_url":"https://api.github.com/users/CAPU-ENG/received_events","type":"Organization","site_admin":false},"repo":{"id":27876781,"name":"CAPUrace","full_name":"CAPU-ENG/CAPUrace","owner":{"login":"CAPU-ENG","id":8847242,"avatar_url":"https://avatars3.githubusercontent.com/u/8847242?v=3","gravatar_id":"","url":"https://api.github.com/users/CAPU-ENG","html_url":"https://github.com/CAPU-ENG","followers_url":"https://api.github.com/users/CAPU-ENG/followers","following_url":"https://api.github.com/users/CAPU-ENG/following{/other_user}","gists_url":"https://api.github.com/users/CAPU-ENG/gists{/gist_id}","starred_url":"https://api.github.com/users/CAPU-ENG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CAPU-ENG/subscriptions","organizations_url":"https://api.github.com/users/CAPU-ENG/orgs","repos_url":"https://api.github.com/users/CAPU-ENG/repos","events_url":"https://api.github.com/users/CAPU-ENG/events{/privacy}","received_events_url":"https://api.github.com/users/CAPU-ENG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CAPU-ENG/CAPUrace","description":"Registeration system for race organized by CAPU","fork":false,"url":"https://api.github.com/repos/CAPU-ENG/CAPUrace","forks_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/forks","keys_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/teams","hooks_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/hooks","issue_events_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues/events{/number}","events_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/events","assignees_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/assignees{/user}","branches_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/branches{/branch}","tags_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/tags","blobs_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/git/refs{/sha}","trees_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/statuses/{sha}","languages_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/languages","stargazers_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/stargazers","contributors_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/contributors","subscribers_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/subscribers","subscription_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/subscription","commits_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/commits{/sha}","git_commits_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/git/commits{/sha}","comments_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/comments{/number}","issue_comment_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues/comments{/number}","contents_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/contents/{+path}","compare_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/merges","archive_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/downloads","issues_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues{/number}","pulls_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls{/number}","milestones_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/milestones{/number}","notifications_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/labels{/name}","releases_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/releases{/id}","deployments_url":"https://api.github.com/repos/CAPU-ENG/CAPUrace/deployments","created_at":"2014-12-11T15:04:07Z","updated_at":"2017-03-25T07:49:40Z","pushed_at":"2017-03-26T06:47:45Z","git_url":"git://github.com/CAPU-ENG/CAPUrace.git","ssh_url":"git@github.com:CAPU-ENG/CAPUrace.git","clone_url":"https://github.com/CAPU-ENG/CAPUrace.git","svn_url":"https://github.com/CAPU-ENG/CAPUrace","homepage":null,"size":23866,"stargazers_count":4,"watchers_count":4,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243"},"html":{"href":"https://github.com/CAPU-ENG/CAPUrace/pull/243"},"issue":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues/243"},"comments":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/CAPU-ENG/CAPUrace/statuses/195066f4073d0d5b96fdbf6f9f5a3c0ccaf752d0"}}}}
{"actor":{"display_login":"huxuan"}}