{"action":"created","comment":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments/46735016","id":46735016,"diff_hunk":"@@ -185,7 +185,7 @@ function dosomething_fact_get_formatted_sources($sources) {\n     return NULL;\n   }\n \n-  if (!is_array($sources[0])) {\n+  if (array_key_exists(\"raw\", $sources)) {","path":"lib/modules/dosomething/dosomething_fact/dosomething_fact.module","position":5,"original_position":5,"commit_id":"697bb98ec0b0718fb202e0218bba8a707b29e9fd","original_commit_id":"697bb98ec0b0718fb202e0218bba8a707b29e9fd","user":{"login":"weerd","id":105849,"avatar_url":"https://avatars.githubusercontent.com/u/105849?v=3","gravatar_id":"","url":"https://api.github.com/users/weerd","html_url":"https://github.com/weerd","followers_url":"https://api.github.com/users/weerd/followers","following_url":"https://api.github.com/users/weerd/following{/other_user}","gists_url":"https://api.github.com/users/weerd/gists{/gist_id}","starred_url":"https://api.github.com/users/weerd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weerd/subscriptions","organizations_url":"https://api.github.com/users/weerd/orgs","repos_url":"https://api.github.com/users/weerd/repos","events_url":"https://api.github.com/users/weerd/events{/privacy}","received_events_url":"https://api.github.com/users/weerd/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-12-04T21:33:46Z","updated_at":"2015-12-04T21:33:46Z","html_url":"https://github.com/DoSomething/phoenix/pull/5898#discussion_r46735016","pull_request_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898","_links":{"self":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments/46735016"},"html":{"href":"https://github.com/DoSomething/phoenix/pull/5898#discussion_r46735016"},"pull_request":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898"}}},"pull_request":{"url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898","id":52721130,"html_url":"https://github.com/DoSomething/phoenix/pull/5898","diff_url":"https://github.com/DoSomething/phoenix/pull/5898.diff","patch_url":"https://github.com/DoSomething/phoenix/pull/5898.patch","issue_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5898","number":5898,"state":"open","locked":false,"title":"Fixing errors","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"body":"#### What's this PR do?\r\nIt fixes a lot of those random errors spamming our website.\r\n\r\n#### Where should the reviewer start?\r\noh jeez.... you should toss the fishing line in and hope you catch something.\r\n\r\n#### How should this be manually tested?\r\nis there lots of spammy errors happening when you load a page?\r\n\r\n#### Any background context you want to provide?\r\nMost of these errors stem from a lack of isset check, bad references, etc\r\n\r\n#### What are the relevant tickets?\r\nFixes #5028\r\nFixes #5893 ","created_at":"2015-12-04T21:04:04Z","updated_at":"2015-12-04T21:33:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1b71e9a4cfeffb3d56f3caa3e63c069c329960f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898/commits","review_comments_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898/comments","review_comment_url":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/issues/5898/comments","statuses_url":"https://api.github.com/repos/DoSomething/phoenix/statuses/697bb98ec0b0718fb202e0218bba8a707b29e9fd","head":{"label":"deadlybutter:fuckyouerrors","ref":"fuckyouerrors","sha":"697bb98ec0b0718fb202e0218bba8a707b29e9fd","user":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"repo":{"id":43687372,"name":"phoenix","full_name":"deadlybutter/phoenix","owner":{"login":"deadlybutter","id":897368,"avatar_url":"https://avatars.githubusercontent.com/u/897368?v=3","gravatar_id":"","url":"https://api.github.com/users/deadlybutter","html_url":"https://github.com/deadlybutter","followers_url":"https://api.github.com/users/deadlybutter/followers","following_url":"https://api.github.com/users/deadlybutter/following{/other_user}","gists_url":"https://api.github.com/users/deadlybutter/gists{/gist_id}","starred_url":"https://api.github.com/users/deadlybutter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deadlybutter/subscriptions","organizations_url":"https://api.github.com/users/deadlybutter/orgs","repos_url":"https://api.github.com/users/deadlybutter/repos","events_url":"https://api.github.com/users/deadlybutter/events{/privacy}","received_events_url":"https://api.github.com/users/deadlybutter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/deadlybutter/phoenix","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":true,"url":"https://api.github.com/repos/deadlybutter/phoenix","forks_url":"https://api.github.com/repos/deadlybutter/phoenix/forks","keys_url":"https://api.github.com/repos/deadlybutter/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/deadlybutter/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/deadlybutter/phoenix/teams","hooks_url":"https://api.github.com/repos/deadlybutter/phoenix/hooks","issue_events_url":"https://api.github.com/repos/deadlybutter/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/deadlybutter/phoenix/events","assignees_url":"https://api.github.com/repos/deadlybutter/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/deadlybutter/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/deadlybutter/phoenix/tags","blobs_url":"https://api.github.com/repos/deadlybutter/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/deadlybutter/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/deadlybutter/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/deadlybutter/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/deadlybutter/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/deadlybutter/phoenix/languages","stargazers_url":"https://api.github.com/repos/deadlybutter/phoenix/stargazers","contributors_url":"https://api.github.com/repos/deadlybutter/phoenix/contributors","subscribers_url":"https://api.github.com/repos/deadlybutter/phoenix/subscribers","subscription_url":"https://api.github.com/repos/deadlybutter/phoenix/subscription","commits_url":"https://api.github.com/repos/deadlybutter/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/deadlybutter/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/deadlybutter/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/deadlybutter/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/deadlybutter/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/deadlybutter/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/deadlybutter/phoenix/merges","archive_url":"https://api.github.com/repos/deadlybutter/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/deadlybutter/phoenix/downloads","issues_url":"https://api.github.com/repos/deadlybutter/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/deadlybutter/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/deadlybutter/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/deadlybutter/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/deadlybutter/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/deadlybutter/phoenix/releases{/id}","created_at":"2015-10-05T13:56:21Z","updated_at":"2015-10-05T13:56:26Z","pushed_at":"2015-12-04T21:24:57Z","git_url":"git://github.com/deadlybutter/phoenix.git","ssh_url":"git@github.com:deadlybutter/phoenix.git","clone_url":"https://github.com/deadlybutter/phoenix.git","svn_url":"https://github.com/deadlybutter/phoenix","homepage":"http://www.dosomething.org/","size":15552,"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":"dev"}},"base":{"label":"DoSomething:dev","ref":"dev","sha":"77921953c2899b49f40e4b4299b0a0d2fbf15a5e","user":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"repo":{"id":13592927,"name":"phoenix","full_name":"DoSomething/phoenix","owner":{"login":"DoSomething","id":731685,"avatar_url":"https://avatars.githubusercontent.com/u/731685?v=3","gravatar_id":"","url":"https://api.github.com/users/DoSomething","html_url":"https://github.com/DoSomething","followers_url":"https://api.github.com/users/DoSomething/followers","following_url":"https://api.github.com/users/DoSomething/following{/other_user}","gists_url":"https://api.github.com/users/DoSomething/gists{/gist_id}","starred_url":"https://api.github.com/users/DoSomething/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoSomething/subscriptions","organizations_url":"https://api.github.com/users/DoSomething/orgs","repos_url":"https://api.github.com/users/DoSomething/repos","events_url":"https://api.github.com/users/DoSomething/events{/privacy}","received_events_url":"https://api.github.com/users/DoSomething/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DoSomething/phoenix","description":"A Drupal 7 distribution that powers the DoSomething.org web platform.","fork":false,"url":"https://api.github.com/repos/DoSomething/phoenix","forks_url":"https://api.github.com/repos/DoSomething/phoenix/forks","keys_url":"https://api.github.com/repos/DoSomething/phoenix/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DoSomething/phoenix/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DoSomething/phoenix/teams","hooks_url":"https://api.github.com/repos/DoSomething/phoenix/hooks","issue_events_url":"https://api.github.com/repos/DoSomething/phoenix/issues/events{/number}","events_url":"https://api.github.com/repos/DoSomething/phoenix/events","assignees_url":"https://api.github.com/repos/DoSomething/phoenix/assignees{/user}","branches_url":"https://api.github.com/repos/DoSomething/phoenix/branches{/branch}","tags_url":"https://api.github.com/repos/DoSomething/phoenix/tags","blobs_url":"https://api.github.com/repos/DoSomething/phoenix/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DoSomething/phoenix/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DoSomething/phoenix/git/refs{/sha}","trees_url":"https://api.github.com/repos/DoSomething/phoenix/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DoSomething/phoenix/statuses/{sha}","languages_url":"https://api.github.com/repos/DoSomething/phoenix/languages","stargazers_url":"https://api.github.com/repos/DoSomething/phoenix/stargazers","contributors_url":"https://api.github.com/repos/DoSomething/phoenix/contributors","subscribers_url":"https://api.github.com/repos/DoSomething/phoenix/subscribers","subscription_url":"https://api.github.com/repos/DoSomething/phoenix/subscription","commits_url":"https://api.github.com/repos/DoSomething/phoenix/commits{/sha}","git_commits_url":"https://api.github.com/repos/DoSomething/phoenix/git/commits{/sha}","comments_url":"https://api.github.com/repos/DoSomething/phoenix/comments{/number}","issue_comment_url":"https://api.github.com/repos/DoSomething/phoenix/issues/comments{/number}","contents_url":"https://api.github.com/repos/DoSomething/phoenix/contents/{+path}","compare_url":"https://api.github.com/repos/DoSomething/phoenix/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DoSomething/phoenix/merges","archive_url":"https://api.github.com/repos/DoSomething/phoenix/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DoSomething/phoenix/downloads","issues_url":"https://api.github.com/repos/DoSomething/phoenix/issues{/number}","pulls_url":"https://api.github.com/repos/DoSomething/phoenix/pulls{/number}","milestones_url":"https://api.github.com/repos/DoSomething/phoenix/milestones{/number}","notifications_url":"https://api.github.com/repos/DoSomething/phoenix/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DoSomething/phoenix/labels{/name}","releases_url":"https://api.github.com/repos/DoSomething/phoenix/releases{/id}","created_at":"2013-10-15T14:50:48Z","updated_at":"2015-11-22T05:11:09Z","pushed_at":"2015-12-04T21:24:58Z","git_url":"git://github.com/DoSomething/phoenix.git","ssh_url":"git@github.com:DoSomething/phoenix.git","clone_url":"https://github.com/DoSomething/phoenix.git","svn_url":"https://github.com/DoSomething/phoenix","homepage":"http://www.dosomething.org/","size":16179,"stargazers_count":27,"watchers_count":27,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":272,"forks":19,"open_issues":272,"watchers":27,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898"},"html":{"href":"https://github.com/DoSomething/phoenix/pull/5898"},"issue":{"href":"https://api.github.com/repos/DoSomething/phoenix/issues/5898"},"comments":{"href":"https://api.github.com/repos/DoSomething/phoenix/issues/5898/comments"},"review_comments":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898/comments"},"review_comment":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DoSomething/phoenix/pulls/5898/commits"},"statuses":{"href":"https://api.github.com/repos/DoSomething/phoenix/statuses/697bb98ec0b0718fb202e0218bba8a707b29e9fd"}}}}