{"action":"created","comment":{"url":"https://api.github.com/repos/ad410project/ad410project/pulls/comments/193571954","pull_request_review_id":126570549,"id":193571954,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzU3MTk1NA==","diff_hunk":"@@ -8,24 +8,27 @@\n \n session_start();\n \n-if(isset($_SESSION['email']) && !isset($_POST['email']))\n-{\n-    $userInfo = array_values(getUser());\n+if (!isset($_SESSION['emailAddress'])) {\n+    header(\"location: ?controller=static&action=login\");\n+    exit;\n }\n \n+if(isset($_SESSION['emailAddress']) && !isset($_POST['emailAddress'])) {\n+    $userInfo = array_values(getUser());\n+}\n \n-if(isset($_POST['email']))\n+if(isset($_POST['emailAddress']))\n {\n-    if(!isset($_SESSION['email']))\n+    if(!isset($_SESSION['emailAddress']))\n     {\n-        $_SESSION['email'] = $_POST['email'];\n+        $_SESSION['emailAddress'] = $_POST['emailAddress'];\n     }\n     $userInfo = array_values(getUser());\n }\n \n function getUser()\n {","path":"views/dynamic/userProfile.php","position":29,"original_position":29,"commit_id":"dfb25cb7bbedf99898276b0deaddde401e33e1f3","original_commit_id":"dfb25cb7bbedf99898276b0deaddde401e33e1f3","user":{"login":"ad410project","id":39012557,"node_id":"MDQ6VXNlcjM5MDEyNTU3","avatar_url":"https://avatars3.githubusercontent.com/u/39012557?v=4","gravatar_id":"","url":"https://api.github.com/users/ad410project","html_url":"https://github.com/ad410project","followers_url":"https://api.github.com/users/ad410project/followers","following_url":"https://api.github.com/users/ad410project/following{/other_user}","gists_url":"https://api.github.com/users/ad410project/gists{/gist_id}","starred_url":"https://api.github.com/users/ad410project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad410project/subscriptions","organizations_url":"https://api.github.com/users/ad410project/orgs","repos_url":"https://api.github.com/users/ad410project/repos","events_url":"https://api.github.com/users/ad410project/events{/privacy}","received_events_url":"https://api.github.com/users/ad410project/received_events","type":"User","site_admin":false},"body":"did you mean to comment this out?\r\n","created_at":"2018-06-06T21:56:31Z","updated_at":"2018-06-06T21:56:31Z","html_url":"https://github.com/ad410project/ad410project/pull/84#discussion_r193571954","pull_request_url":"https://api.github.com/repos/ad410project/ad410project/pulls/84","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/ad410project/ad410project/pulls/comments/193571954"},"html":{"href":"https://github.com/ad410project/ad410project/pull/84#discussion_r193571954"},"pull_request":{"href":"https://api.github.com/repos/ad410project/ad410project/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/ad410project/ad410project/pulls/84","id":192878112,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyODc4MTEy","html_url":"https://github.com/ad410project/ad410project/pull/84","diff_url":"https://github.com/ad410project/ad410project/pull/84.diff","patch_url":"https://github.com/ad410project/ad410project/pull/84.patch","issue_url":"https://api.github.com/repos/ad410project/ad410project/issues/84","number":84,"state":"open","locked":false,"title":"more updates","user":{"login":"FrancescoWard","id":11233693,"node_id":"MDQ6VXNlcjExMjMzNjkz","avatar_url":"https://avatars2.githubusercontent.com/u/11233693?v=4","gravatar_id":"","url":"https://api.github.com/users/FrancescoWard","html_url":"https://github.com/FrancescoWard","followers_url":"https://api.github.com/users/FrancescoWard/followers","following_url":"https://api.github.com/users/FrancescoWard/following{/other_user}","gists_url":"https://api.github.com/users/FrancescoWard/gists{/gist_id}","starred_url":"https://api.github.com/users/FrancescoWard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FrancescoWard/subscriptions","organizations_url":"https://api.github.com/users/FrancescoWard/orgs","repos_url":"https://api.github.com/users/FrancescoWard/repos","events_url":"https://api.github.com/users/FrancescoWard/events{/privacy}","received_events_url":"https://api.github.com/users/FrancescoWard/received_events","type":"User","site_admin":false},"body":"More updates\r\nThanks,\r\nFrancesco","created_at":"2018-06-06T01:35:41Z","updated_at":"2018-06-06T21:56:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84abab0341c8a6e40ad321c39da28e20af816995","assignee":null,"assignees":[],"requested_reviewers":[{"login":"mcontado","id":17444804,"node_id":"MDQ6VXNlcjE3NDQ0ODA0","avatar_url":"https://avatars3.githubusercontent.com/u/17444804?v=4","gravatar_id":"","url":"https://api.github.com/users/mcontado","html_url":"https://github.com/mcontado","followers_url":"https://api.github.com/users/mcontado/followers","following_url":"https://api.github.com/users/mcontado/following{/other_user}","gists_url":"https://api.github.com/users/mcontado/gists{/gist_id}","starred_url":"https://api.github.com/users/mcontado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcontado/subscriptions","organizations_url":"https://api.github.com/users/mcontado/orgs","repos_url":"https://api.github.com/users/mcontado/repos","events_url":"https://api.github.com/users/mcontado/events{/privacy}","received_events_url":"https://api.github.com/users/mcontado/received_events","type":"User","site_admin":false},{"login":"mviencek","id":32376631,"node_id":"MDQ6VXNlcjMyMzc2NjMx","avatar_url":"https://avatars0.githubusercontent.com/u/32376631?v=4","gravatar_id":"","url":"https://api.github.com/users/mviencek","html_url":"https://github.com/mviencek","followers_url":"https://api.github.com/users/mviencek/followers","following_url":"https://api.github.com/users/mviencek/following{/other_user}","gists_url":"https://api.github.com/users/mviencek/gists{/gist_id}","starred_url":"https://api.github.com/users/mviencek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mviencek/subscriptions","organizations_url":"https://api.github.com/users/mviencek/orgs","repos_url":"https://api.github.com/users/mviencek/repos","events_url":"https://api.github.com/users/mviencek/events{/privacy}","received_events_url":"https://api.github.com/users/mviencek/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ad410project/ad410project/pulls/84/commits","review_comments_url":"https://api.github.com/repos/ad410project/ad410project/pulls/84/comments","review_comment_url":"https://api.github.com/repos/ad410project/ad410project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ad410project/ad410project/issues/84/comments","statuses_url":"https://api.github.com/repos/ad410project/ad410project/statuses/dfb25cb7bbedf99898276b0deaddde401e33e1f3","head":{"label":"ad410project:userProfile","ref":"userProfile","sha":"dfb25cb7bbedf99898276b0deaddde401e33e1f3","user":{"login":"ad410project","id":39012557,"node_id":"MDQ6VXNlcjM5MDEyNTU3","avatar_url":"https://avatars3.githubusercontent.com/u/39012557?v=4","gravatar_id":"","url":"https://api.github.com/users/ad410project","html_url":"https://github.com/ad410project","followers_url":"https://api.github.com/users/ad410project/followers","following_url":"https://api.github.com/users/ad410project/following{/other_user}","gists_url":"https://api.github.com/users/ad410project/gists{/gist_id}","starred_url":"https://api.github.com/users/ad410project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad410project/subscriptions","organizations_url":"https://api.github.com/users/ad410project/orgs","repos_url":"https://api.github.com/users/ad410project/repos","events_url":"https://api.github.com/users/ad410project/events{/privacy}","received_events_url":"https://api.github.com/users/ad410project/received_events","type":"User","site_admin":false},"repo":{"id":132284883,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyODQ4ODM=","name":"ad410project","full_name":"ad410project/ad410project","owner":{"login":"ad410project","id":39012557,"node_id":"MDQ6VXNlcjM5MDEyNTU3","avatar_url":"https://avatars3.githubusercontent.com/u/39012557?v=4","gravatar_id":"","url":"https://api.github.com/users/ad410project","html_url":"https://github.com/ad410project","followers_url":"https://api.github.com/users/ad410project/followers","following_url":"https://api.github.com/users/ad410project/following{/other_user}","gists_url":"https://api.github.com/users/ad410project/gists{/gist_id}","starred_url":"https://api.github.com/users/ad410project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad410project/subscriptions","organizations_url":"https://api.github.com/users/ad410project/orgs","repos_url":"https://api.github.com/users/ad410project/repos","events_url":"https://api.github.com/users/ad410project/events{/privacy}","received_events_url":"https://api.github.com/users/ad410project/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ad410project/ad410project","description":"North Seattle College AD 410 Class Project","fork":false,"url":"https://api.github.com/repos/ad410project/ad410project","forks_url":"https://api.github.com/repos/ad410project/ad410project/forks","keys_url":"https://api.github.com/repos/ad410project/ad410project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ad410project/ad410project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ad410project/ad410project/teams","hooks_url":"https://api.github.com/repos/ad410project/ad410project/hooks","issue_events_url":"https://api.github.com/repos/ad410project/ad410project/issues/events{/number}","events_url":"https://api.github.com/repos/ad410project/ad410project/events","assignees_url":"https://api.github.com/repos/ad410project/ad410project/assignees{/user}","branches_url":"https://api.github.com/repos/ad410project/ad410project/branches{/branch}","tags_url":"https://api.github.com/repos/ad410project/ad410project/tags","blobs_url":"https://api.github.com/repos/ad410project/ad410project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ad410project/ad410project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ad410project/ad410project/git/refs{/sha}","trees_url":"https://api.github.com/repos/ad410project/ad410project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ad410project/ad410project/statuses/{sha}","languages_url":"https://api.github.com/repos/ad410project/ad410project/languages","stargazers_url":"https://api.github.com/repos/ad410project/ad410project/stargazers","contributors_url":"https://api.github.com/repos/ad410project/ad410project/contributors","subscribers_url":"https://api.github.com/repos/ad410project/ad410project/subscribers","subscription_url":"https://api.github.com/repos/ad410project/ad410project/subscription","commits_url":"https://api.github.com/repos/ad410project/ad410project/commits{/sha}","git_commits_url":"https://api.github.com/repos/ad410project/ad410project/git/commits{/sha}","comments_url":"https://api.github.com/repos/ad410project/ad410project/comments{/number}","issue_comment_url":"https://api.github.com/repos/ad410project/ad410project/issues/comments{/number}","contents_url":"https://api.github.com/repos/ad410project/ad410project/contents/{+path}","compare_url":"https://api.github.com/repos/ad410project/ad410project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ad410project/ad410project/merges","archive_url":"https://api.github.com/repos/ad410project/ad410project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ad410project/ad410project/downloads","issues_url":"https://api.github.com/repos/ad410project/ad410project/issues{/number}","pulls_url":"https://api.github.com/repos/ad410project/ad410project/pulls{/number}","milestones_url":"https://api.github.com/repos/ad410project/ad410project/milestones{/number}","notifications_url":"https://api.github.com/repos/ad410project/ad410project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ad410project/ad410project/labels{/name}","releases_url":"https://api.github.com/repos/ad410project/ad410project/releases{/id}","deployments_url":"https://api.github.com/repos/ad410project/ad410project/deployments","created_at":"2018-05-05T21:12:19Z","updated_at":"2018-06-05T17:47:52Z","pushed_at":"2018-06-06T18:46:14Z","git_url":"git://github.com/ad410project/ad410project.git","ssh_url":"git@github.com:ad410project/ad410project.git","clone_url":"https://github.com/ad410project/ad410project.git","svn_url":"https://github.com/ad410project/ad410project","homepage":null,"size":9981,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":3,"default_branch":"Development"}},"base":{"label":"ad410project:Development","ref":"Development","sha":"1df6383335bdf608a43cf08f8f9aab3224038e84","user":{"login":"ad410project","id":39012557,"node_id":"MDQ6VXNlcjM5MDEyNTU3","avatar_url":"https://avatars3.githubusercontent.com/u/39012557?v=4","gravatar_id":"","url":"https://api.github.com/users/ad410project","html_url":"https://github.com/ad410project","followers_url":"https://api.github.com/users/ad410project/followers","following_url":"https://api.github.com/users/ad410project/following{/other_user}","gists_url":"https://api.github.com/users/ad410project/gists{/gist_id}","starred_url":"https://api.github.com/users/ad410project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad410project/subscriptions","organizations_url":"https://api.github.com/users/ad410project/orgs","repos_url":"https://api.github.com/users/ad410project/repos","events_url":"https://api.github.com/users/ad410project/events{/privacy}","received_events_url":"https://api.github.com/users/ad410project/received_events","type":"User","site_admin":false},"repo":{"id":132284883,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyODQ4ODM=","name":"ad410project","full_name":"ad410project/ad410project","owner":{"login":"ad410project","id":39012557,"node_id":"MDQ6VXNlcjM5MDEyNTU3","avatar_url":"https://avatars3.githubusercontent.com/u/39012557?v=4","gravatar_id":"","url":"https://api.github.com/users/ad410project","html_url":"https://github.com/ad410project","followers_url":"https://api.github.com/users/ad410project/followers","following_url":"https://api.github.com/users/ad410project/following{/other_user}","gists_url":"https://api.github.com/users/ad410project/gists{/gist_id}","starred_url":"https://api.github.com/users/ad410project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad410project/subscriptions","organizations_url":"https://api.github.com/users/ad410project/orgs","repos_url":"https://api.github.com/users/ad410project/repos","events_url":"https://api.github.com/users/ad410project/events{/privacy}","received_events_url":"https://api.github.com/users/ad410project/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ad410project/ad410project","description":"North Seattle College AD 410 Class Project","fork":false,"url":"https://api.github.com/repos/ad410project/ad410project","forks_url":"https://api.github.com/repos/ad410project/ad410project/forks","keys_url":"https://api.github.com/repos/ad410project/ad410project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ad410project/ad410project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ad410project/ad410project/teams","hooks_url":"https://api.github.com/repos/ad410project/ad410project/hooks","issue_events_url":"https://api.github.com/repos/ad410project/ad410project/issues/events{/number}","events_url":"https://api.github.com/repos/ad410project/ad410project/events","assignees_url":"https://api.github.com/repos/ad410project/ad410project/assignees{/user}","branches_url":"https://api.github.com/repos/ad410project/ad410project/branches{/branch}","tags_url":"https://api.github.com/repos/ad410project/ad410project/tags","blobs_url":"https://api.github.com/repos/ad410project/ad410project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ad410project/ad410project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ad410project/ad410project/git/refs{/sha}","trees_url":"https://api.github.com/repos/ad410project/ad410project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ad410project/ad410project/statuses/{sha}","languages_url":"https://api.github.com/repos/ad410project/ad410project/languages","stargazers_url":"https://api.github.com/repos/ad410project/ad410project/stargazers","contributors_url":"https://api.github.com/repos/ad410project/ad410project/contributors","subscribers_url":"https://api.github.com/repos/ad410project/ad410project/subscribers","subscription_url":"https://api.github.com/repos/ad410project/ad410project/subscription","commits_url":"https://api.github.com/repos/ad410project/ad410project/commits{/sha}","git_commits_url":"https://api.github.com/repos/ad410project/ad410project/git/commits{/sha}","comments_url":"https://api.github.com/repos/ad410project/ad410project/comments{/number}","issue_comment_url":"https://api.github.com/repos/ad410project/ad410project/issues/comments{/number}","contents_url":"https://api.github.com/repos/ad410project/ad410project/contents/{+path}","compare_url":"https://api.github.com/repos/ad410project/ad410project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ad410project/ad410project/merges","archive_url":"https://api.github.com/repos/ad410project/ad410project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ad410project/ad410project/downloads","issues_url":"https://api.github.com/repos/ad410project/ad410project/issues{/number}","pulls_url":"https://api.github.com/repos/ad410project/ad410project/pulls{/number}","milestones_url":"https://api.github.com/repos/ad410project/ad410project/milestones{/number}","notifications_url":"https://api.github.com/repos/ad410project/ad410project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ad410project/ad410project/labels{/name}","releases_url":"https://api.github.com/repos/ad410project/ad410project/releases{/id}","deployments_url":"https://api.github.com/repos/ad410project/ad410project/deployments","created_at":"2018-05-05T21:12:19Z","updated_at":"2018-06-05T17:47:52Z","pushed_at":"2018-06-06T18:46:14Z","git_url":"git://github.com/ad410project/ad410project.git","ssh_url":"git@github.com:ad410project/ad410project.git","clone_url":"https://github.com/ad410project/ad410project.git","svn_url":"https://github.com/ad410project/ad410project","homepage":null,"size":9981,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":3,"default_branch":"Development"}},"_links":{"self":{"href":"https://api.github.com/repos/ad410project/ad410project/pulls/84"},"html":{"href":"https://github.com/ad410project/ad410project/pull/84"},"issue":{"href":"https://api.github.com/repos/ad410project/ad410project/issues/84"},"comments":{"href":"https://api.github.com/repos/ad410project/ad410project/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/ad410project/ad410project/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/ad410project/ad410project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ad410project/ad410project/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/ad410project/ad410project/statuses/dfb25cb7bbedf99898276b0deaddde401e33e1f3"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ad410project"}}