{"action":"created","comment":{"url":"https://api.github.com/repos/aces/Loris/pulls/comments/187347704","pull_request_review_id":119109054,"id":187347704,"diff_hunk":"@@ -310,6 +309,7 @@ class Document_Repository extends \\NDB_Menu_Filter\n         $query    = \"SELECT * FROM document_repository_categories\".\n                     \" ORDER BY parent_id ASC\";\n         $dbresult = $DB->pselect($query, array());\n+        $tree     = array();","path":"modules/document_repository/php/document_repository.class.inc","position":26,"original_position":26,"commit_id":"e5d89b5e96a4bea148f69ab2e98cfac1454fec68","original_commit_id":"e5d89b5e96a4bea148f69ab2e98cfac1454fec68","user":{"login":"johnsaigle","id":4022790,"avatar_url":"https://avatars0.githubusercontent.com/u/4022790?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsaigle","html_url":"https://github.com/johnsaigle","followers_url":"https://api.github.com/users/johnsaigle/followers","following_url":"https://api.github.com/users/johnsaigle/following{/other_user}","gists_url":"https://api.github.com/users/johnsaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsaigle/subscriptions","organizations_url":"https://api.github.com/users/johnsaigle/orgs","repos_url":"https://api.github.com/users/johnsaigle/repos","events_url":"https://api.github.com/users/johnsaigle/events{/privacy}","received_events_url":"https://api.github.com/users/johnsaigle/received_events","type":"User","site_admin":false},"body":"See https://github.com/aces/Loris/pull/3656. It looks like this should be an object, not an array.","created_at":"2018-05-10T14:31:44Z","updated_at":"2018-05-10T14:31:45Z","html_url":"https://github.com/aces/Loris/pull/3632#discussion_r187347704","pull_request_url":"https://api.github.com/repos/aces/Loris/pulls/3632","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments/187347704"},"html":{"href":"https://github.com/aces/Loris/pull/3632#discussion_r187347704"},"pull_request":{"href":"https://api.github.com/repos/aces/Loris/pulls/3632"}}},"pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/3632","id":185526843,"html_url":"https://github.com/aces/Loris/pull/3632","diff_url":"https://github.com/aces/Loris/pull/3632.diff","patch_url":"https://github.com/aces/Loris/pull/3632.patch","issue_url":"https://api.github.com/repos/aces/Loris/issues/3632","number":3632,"state":"open","locked":false,"title":"initiated variables to fix console log warnings","user":{"login":"intralizee","id":16293415,"avatar_url":"https://avatars3.githubusercontent.com/u/16293415?v=4","gravatar_id":"","url":"https://api.github.com/users/intralizee","html_url":"https://github.com/intralizee","followers_url":"https://api.github.com/users/intralizee/followers","following_url":"https://api.github.com/users/intralizee/following{/other_user}","gists_url":"https://api.github.com/users/intralizee/gists{/gist_id}","starred_url":"https://api.github.com/users/intralizee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intralizee/subscriptions","organizations_url":"https://api.github.com/users/intralizee/orgs","repos_url":"https://api.github.com/users/intralizee/repos","events_url":"https://api.github.com/users/intralizee/events{/privacy}","received_events_url":"https://api.github.com/users/intralizee/received_events","type":"User","site_admin":false},"body":"This pull request `If viewing Document Repository in Tools on Loris, the console will output warnings on a fresh install`. The `variables needed to be initiated in some cases`.\r\n\r\nSee also: `Bug #14386`","created_at":"2018-05-02T18:43:34Z","updated_at":"2018-05-10T14:31:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00a9c2e7568ac2daa84bf7240b939a3018fafe94","assignee":{"login":"driusan","id":498329,"avatar_url":"https://avatars0.githubusercontent.com/u/498329?v=4","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"assignees":[{"login":"driusan","id":498329,"avatar_url":"https://avatars0.githubusercontent.com/u/498329?v=4","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},{"login":"johnsaigle","id":4022790,"avatar_url":"https://avatars0.githubusercontent.com/u/4022790?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsaigle","html_url":"https://github.com/johnsaigle","followers_url":"https://api.github.com/users/johnsaigle/followers","following_url":"https://api.github.com/users/johnsaigle/following{/other_user}","gists_url":"https://api.github.com/users/johnsaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsaigle/subscriptions","organizations_url":"https://api.github.com/users/johnsaigle/orgs","repos_url":"https://api.github.com/users/johnsaigle/repos","events_url":"https://api.github.com/users/johnsaigle/events{/privacy}","received_events_url":"https://api.github.com/users/johnsaigle/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":152305414,"url":"https://api.github.com/repos/aces/Loris/labels/Bug%20Fix","name":"Bug Fix","color":"f7c6c7","default":false},{"id":708895841,"url":"https://api.github.com/repos/aces/Loris/labels/[branch]%20bugfix","name":"[branch] bugfix","color":"cc9966","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/aces/Loris/pulls/3632/commits","review_comments_url":"https://api.github.com/repos/aces/Loris/pulls/3632/comments","review_comment_url":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aces/Loris/issues/3632/comments","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/e5d89b5e96a4bea148f69ab2e98cfac1454fec68","head":{"label":"intralizee:tools_document_repository_variable_fixes","ref":"tools_document_repository_variable_fixes","sha":"e5d89b5e96a4bea148f69ab2e98cfac1454fec68","user":{"login":"intralizee","id":16293415,"avatar_url":"https://avatars3.githubusercontent.com/u/16293415?v=4","gravatar_id":"","url":"https://api.github.com/users/intralizee","html_url":"https://github.com/intralizee","followers_url":"https://api.github.com/users/intralizee/followers","following_url":"https://api.github.com/users/intralizee/following{/other_user}","gists_url":"https://api.github.com/users/intralizee/gists{/gist_id}","starred_url":"https://api.github.com/users/intralizee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intralizee/subscriptions","organizations_url":"https://api.github.com/users/intralizee/orgs","repos_url":"https://api.github.com/users/intralizee/repos","events_url":"https://api.github.com/users/intralizee/events{/privacy}","received_events_url":"https://api.github.com/users/intralizee/received_events","type":"User","site_admin":false},"repo":{"id":130723427,"name":"Loris","full_name":"intralizee/Loris","owner":{"login":"intralizee","id":16293415,"avatar_url":"https://avatars3.githubusercontent.com/u/16293415?v=4","gravatar_id":"","url":"https://api.github.com/users/intralizee","html_url":"https://github.com/intralizee","followers_url":"https://api.github.com/users/intralizee/followers","following_url":"https://api.github.com/users/intralizee/following{/other_user}","gists_url":"https://api.github.com/users/intralizee/gists{/gist_id}","starred_url":"https://api.github.com/users/intralizee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/intralizee/subscriptions","organizations_url":"https://api.github.com/users/intralizee/orgs","repos_url":"https://api.github.com/users/intralizee/repos","events_url":"https://api.github.com/users/intralizee/events{/privacy}","received_events_url":"https://api.github.com/users/intralizee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/intralizee/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":true,"url":"https://api.github.com/repos/intralizee/Loris","forks_url":"https://api.github.com/repos/intralizee/Loris/forks","keys_url":"https://api.github.com/repos/intralizee/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/intralizee/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/intralizee/Loris/teams","hooks_url":"https://api.github.com/repos/intralizee/Loris/hooks","issue_events_url":"https://api.github.com/repos/intralizee/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/intralizee/Loris/events","assignees_url":"https://api.github.com/repos/intralizee/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/intralizee/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/intralizee/Loris/tags","blobs_url":"https://api.github.com/repos/intralizee/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/intralizee/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/intralizee/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/intralizee/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/intralizee/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/intralizee/Loris/languages","stargazers_url":"https://api.github.com/repos/intralizee/Loris/stargazers","contributors_url":"https://api.github.com/repos/intralizee/Loris/contributors","subscribers_url":"https://api.github.com/repos/intralizee/Loris/subscribers","subscription_url":"https://api.github.com/repos/intralizee/Loris/subscription","commits_url":"https://api.github.com/repos/intralizee/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/intralizee/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/intralizee/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/intralizee/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/intralizee/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/intralizee/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/intralizee/Loris/merges","archive_url":"https://api.github.com/repos/intralizee/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/intralizee/Loris/downloads","issues_url":"https://api.github.com/repos/intralizee/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/intralizee/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/intralizee/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/intralizee/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/intralizee/Loris/labels{/name}","releases_url":"https://api.github.com/repos/intralizee/Loris/releases{/id}","deployments_url":"https://api.github.com/repos/intralizee/Loris/deployments","created_at":"2018-04-23T16:08:30Z","updated_at":"2018-04-23T18:35:57Z","pushed_at":"2018-05-10T14:24:20Z","git_url":"git://github.com/intralizee/Loris.git","ssh_url":"git@github.com:intralizee/Loris.git","clone_url":"https://github.com/intralizee/Loris.git","svn_url":"https://github.com/intralizee/Loris","homepage":"","size":76176,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":0,"watchers":1,"default_branch":"minor"}},"base":{"label":"aces:bugfix","ref":"bugfix","sha":"6aa0809c4d11b78d414c6f0cc881feb8487a7f54","user":{"login":"aces","id":472868,"avatar_url":"https://avatars2.githubusercontent.com/u/472868?v=4","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"repo":{"id":1125630,"name":"Loris","full_name":"aces/Loris","owner":{"login":"aces","id":472868,"avatar_url":"https://avatars2.githubusercontent.com/u/472868?v=4","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aces/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":false,"url":"https://api.github.com/repos/aces/Loris","forks_url":"https://api.github.com/repos/aces/Loris/forks","keys_url":"https://api.github.com/repos/aces/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aces/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aces/Loris/teams","hooks_url":"https://api.github.com/repos/aces/Loris/hooks","issue_events_url":"https://api.github.com/repos/aces/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/aces/Loris/events","assignees_url":"https://api.github.com/repos/aces/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/aces/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/aces/Loris/tags","blobs_url":"https://api.github.com/repos/aces/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aces/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aces/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/aces/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/aces/Loris/languages","stargazers_url":"https://api.github.com/repos/aces/Loris/stargazers","contributors_url":"https://api.github.com/repos/aces/Loris/contributors","subscribers_url":"https://api.github.com/repos/aces/Loris/subscribers","subscription_url":"https://api.github.com/repos/aces/Loris/subscription","commits_url":"https://api.github.com/repos/aces/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/aces/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/aces/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/aces/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/aces/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/aces/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aces/Loris/merges","archive_url":"https://api.github.com/repos/aces/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aces/Loris/downloads","issues_url":"https://api.github.com/repos/aces/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/aces/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/aces/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/aces/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aces/Loris/labels{/name}","releases_url":"https://api.github.com/repos/aces/Loris/releases{/id}","deployments_url":"https://api.github.com/repos/aces/Loris/deployments","created_at":"2010-11-30T14:57:57Z","updated_at":"2018-05-09T16:32:12Z","pushed_at":"2018-05-10T14:24:21Z","git_url":"git://github.com/aces/Loris.git","ssh_url":"git@github.com:aces/Loris.git","clone_url":"https://github.com/aces/Loris.git","svn_url":"https://github.com/aces/Loris","homepage":"","size":76424,"stargazers_count":61,"watchers_count":61,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":74,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":90,"open_issues":74,"watchers":61,"default_branch":"minor"}},"_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/3632"},"html":{"href":"https://github.com/aces/Loris/pull/3632"},"issue":{"href":"https://api.github.com/repos/aces/Loris/issues/3632"},"comments":{"href":"https://api.github.com/repos/aces/Loris/issues/3632/comments"},"review_comments":{"href":"https://api.github.com/repos/aces/Loris/pulls/3632/comments"},"review_comment":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aces/Loris/pulls/3632/commits"},"statuses":{"href":"https://api.github.com/repos/aces/Loris/statuses/e5d89b5e96a4bea148f69ab2e98cfac1454fec68"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"johnsaigle"}}