{"action":"created","comment":{"url":"https://api.github.com/repos/friendica/friendica/pulls/comments/211139037","pull_request_review_id":147498592,"id":211139037,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMTEzOTAzNw==","diff_hunk":"@@ -1459,7 +1459,7 @@ public static function buildParameter(array $params = [])\n \n \t\t$limit_string = '';\n \t\tif (isset($params['limit']) && is_int($params['limit'])) {\n-\t\t\t$limit_string = \" LIMIT \" . $params['limit'];\n+\t\t\t$limit_string = \" LIMIT \" . intval($params['limit']);","path":"src/Database/DBA.php","position":5,"original_position":5,"commit_id":"f770b3b4dc4e922f07768dc358b3f7ddda8f3c19","original_commit_id":"f770b3b4dc4e922f07768dc358b3f7ddda8f3c19","user":{"login":"MrPetovan","id":925415,"node_id":"MDQ6VXNlcjkyNTQxNQ==","avatar_url":"https://avatars1.githubusercontent.com/u/925415?v=4","gravatar_id":"","url":"https://api.github.com/users/MrPetovan","html_url":"https://github.com/MrPetovan","followers_url":"https://api.github.com/users/MrPetovan/followers","following_url":"https://api.github.com/users/MrPetovan/following{/other_user}","gists_url":"https://api.github.com/users/MrPetovan/gists{/gist_id}","starred_url":"https://api.github.com/users/MrPetovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrPetovan/subscriptions","organizations_url":"https://api.github.com/users/MrPetovan/orgs","repos_url":"https://api.github.com/users/MrPetovan/repos","events_url":"https://api.github.com/users/MrPetovan/events{/privacy}","received_events_url":"https://api.github.com/users/MrPetovan/received_events","type":"User","site_admin":false},"body":"The variable type is already ensured in the conditional, no need to typecast.","created_at":"2018-08-20T04:33:05Z","updated_at":"2018-08-20T04:33:33Z","html_url":"https://github.com/friendica/friendica/pull/5639#discussion_r211139037","pull_request_url":"https://api.github.com/repos/friendica/friendica/pulls/5639","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments/211139037"},"html":{"href":"https://github.com/friendica/friendica/pull/5639#discussion_r211139037"},"pull_request":{"href":"https://api.github.com/repos/friendica/friendica/pulls/5639"}}},"pull_request":{"url":"https://api.github.com/repos/friendica/friendica/pulls/5639","id":209381478,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5MzgxNDc4","html_url":"https://github.com/friendica/friendica/pull/5639","diff_url":"https://github.com/friendica/friendica/pull/5639.diff","patch_url":"https://github.com/friendica/friendica/pull/5639.patch","issue_url":"https://api.github.com/repos/friendica/friendica/issues/5639","number":5639,"state":"closed","locked":false,"title":"Improved profile page, improved \"limit\" handling","user":{"login":"annando","id":844208,"node_id":"MDQ6VXNlcjg0NDIwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/844208?v=4","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"body":"The profile page had been improved a little bit. It is still work in progress. Additionally the \"limit\" value setting is improved.","created_at":"2018-08-19T21:45:30Z","updated_at":"2018-08-20T04:33:33Z","closed_at":"2018-08-20T04:26:05Z","merged_at":"2018-08-20T04:26:05Z","merge_commit_sha":"16a081871c025692b771bc3d96ac0bb331387aa9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/friendica/friendica/milestones/13","html_url":"https://github.com/friendica/friendica/milestone/13","labels_url":"https://api.github.com/repos/friendica/friendica/milestones/13/labels","id":3207058,"node_id":"MDk6TWlsZXN0b25lMzIwNzA1OA==","number":13,"title":"2018.08","description":"","creator":{"login":"tobiasd","id":433490,"node_id":"MDQ6VXNlcjQzMzQ5MA==","avatar_url":"https://avatars0.githubusercontent.com/u/433490?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasd","html_url":"https://github.com/tobiasd","followers_url":"https://api.github.com/users/tobiasd/followers","following_url":"https://api.github.com/users/tobiasd/following{/other_user}","gists_url":"https://api.github.com/users/tobiasd/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasd/subscriptions","organizations_url":"https://api.github.com/users/tobiasd/orgs","repos_url":"https://api.github.com/users/tobiasd/repos","events_url":"https://api.github.com/users/tobiasd/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasd/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":429,"state":"open","created_at":"2018-03-21T18:22:36Z","updated_at":"2018-08-20T04:30:30Z","due_on":"2018-08-26T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/friendica/friendica/pulls/5639/commits","review_comments_url":"https://api.github.com/repos/friendica/friendica/pulls/5639/comments","review_comment_url":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/friendica/friendica/issues/5639/comments","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/f770b3b4dc4e922f07768dc358b3f7ddda8f3c19","head":{"label":"annando:item-cleanup","ref":"item-cleanup","sha":"f770b3b4dc4e922f07768dc358b3f7ddda8f3c19","user":{"login":"annando","id":844208,"node_id":"MDQ6VXNlcjg0NDIwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/844208?v=4","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"repo":{"id":3302872,"node_id":"MDEwOlJlcG9zaXRvcnkzMzAyODcy","name":"friendica","full_name":"annando/friendica","owner":{"login":"annando","id":844208,"node_id":"MDQ6VXNlcjg0NDIwOA==","avatar_url":"https://avatars1.githubusercontent.com/u/844208?v=4","gravatar_id":"","url":"https://api.github.com/users/annando","html_url":"https://github.com/annando","followers_url":"https://api.github.com/users/annando/followers","following_url":"https://api.github.com/users/annando/following{/other_user}","gists_url":"https://api.github.com/users/annando/gists{/gist_id}","starred_url":"https://api.github.com/users/annando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annando/subscriptions","organizations_url":"https://api.github.com/users/annando/orgs","repos_url":"https://api.github.com/users/annando/repos","events_url":"https://api.github.com/users/annando/events{/privacy}","received_events_url":"https://api.github.com/users/annando/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/annando/friendica","description":"Friendica Communications Platform - MIT license","fork":true,"url":"https://api.github.com/repos/annando/friendica","forks_url":"https://api.github.com/repos/annando/friendica/forks","keys_url":"https://api.github.com/repos/annando/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/annando/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/annando/friendica/teams","hooks_url":"https://api.github.com/repos/annando/friendica/hooks","issue_events_url":"https://api.github.com/repos/annando/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/annando/friendica/events","assignees_url":"https://api.github.com/repos/annando/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/annando/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/annando/friendica/tags","blobs_url":"https://api.github.com/repos/annando/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/annando/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/annando/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/annando/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/annando/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/annando/friendica/languages","stargazers_url":"https://api.github.com/repos/annando/friendica/stargazers","contributors_url":"https://api.github.com/repos/annando/friendica/contributors","subscribers_url":"https://api.github.com/repos/annando/friendica/subscribers","subscription_url":"https://api.github.com/repos/annando/friendica/subscription","commits_url":"https://api.github.com/repos/annando/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/annando/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/annando/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/annando/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/annando/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/annando/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/annando/friendica/merges","archive_url":"https://api.github.com/repos/annando/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/annando/friendica/downloads","issues_url":"https://api.github.com/repos/annando/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/annando/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/annando/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/annando/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/annando/friendica/labels{/name}","releases_url":"https://api.github.com/repos/annando/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/annando/friendica/deployments","created_at":"2012-01-30T06:45:26Z","updated_at":"2018-08-19T13:59:35Z","pushed_at":"2018-08-19T21:44:49Z","git_url":"git://github.com/annando/friendica.git","ssh_url":"git@github.com:annando/friendica.git","clone_url":"https://github.com/annando/friendica.git","svn_url":"https://github.com/annando/friendica","homepage":"http://friendica.com","size":105489,"stargazers_count":2,"watchers_count":2,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":2,"default_branch":"develop"}},"base":{"label":"friendica:develop","ref":"develop","sha":"47c2565917bb0f190ef9374d261e538c424b210c","user":{"login":"friendica","id":1176581,"node_id":"MDQ6VXNlcjExNzY1ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1176581?v=4","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"repo":{"id":2722709,"node_id":"MDEwOlJlcG9zaXRvcnkyNzIyNzA5","name":"friendica","full_name":"friendica/friendica","owner":{"login":"friendica","id":1176581,"node_id":"MDQ6VXNlcjExNzY1ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1176581?v=4","gravatar_id":"","url":"https://api.github.com/users/friendica","html_url":"https://github.com/friendica","followers_url":"https://api.github.com/users/friendica/followers","following_url":"https://api.github.com/users/friendica/following{/other_user}","gists_url":"https://api.github.com/users/friendica/gists{/gist_id}","starred_url":"https://api.github.com/users/friendica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/friendica/subscriptions","organizations_url":"https://api.github.com/users/friendica/orgs","repos_url":"https://api.github.com/users/friendica/repos","events_url":"https://api.github.com/users/friendica/events{/privacy}","received_events_url":"https://api.github.com/users/friendica/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/friendica/friendica","description":"Friendica Communications Platform","fork":true,"url":"https://api.github.com/repos/friendica/friendica","forks_url":"https://api.github.com/repos/friendica/friendica/forks","keys_url":"https://api.github.com/repos/friendica/friendica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/friendica/friendica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/friendica/friendica/teams","hooks_url":"https://api.github.com/repos/friendica/friendica/hooks","issue_events_url":"https://api.github.com/repos/friendica/friendica/issues/events{/number}","events_url":"https://api.github.com/repos/friendica/friendica/events","assignees_url":"https://api.github.com/repos/friendica/friendica/assignees{/user}","branches_url":"https://api.github.com/repos/friendica/friendica/branches{/branch}","tags_url":"https://api.github.com/repos/friendica/friendica/tags","blobs_url":"https://api.github.com/repos/friendica/friendica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/friendica/friendica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/friendica/friendica/git/refs{/sha}","trees_url":"https://api.github.com/repos/friendica/friendica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/friendica/friendica/statuses/{sha}","languages_url":"https://api.github.com/repos/friendica/friendica/languages","stargazers_url":"https://api.github.com/repos/friendica/friendica/stargazers","contributors_url":"https://api.github.com/repos/friendica/friendica/contributors","subscribers_url":"https://api.github.com/repos/friendica/friendica/subscribers","subscription_url":"https://api.github.com/repos/friendica/friendica/subscription","commits_url":"https://api.github.com/repos/friendica/friendica/commits{/sha}","git_commits_url":"https://api.github.com/repos/friendica/friendica/git/commits{/sha}","comments_url":"https://api.github.com/repos/friendica/friendica/comments{/number}","issue_comment_url":"https://api.github.com/repos/friendica/friendica/issues/comments{/number}","contents_url":"https://api.github.com/repos/friendica/friendica/contents/{+path}","compare_url":"https://api.github.com/repos/friendica/friendica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/friendica/friendica/merges","archive_url":"https://api.github.com/repos/friendica/friendica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/friendica/friendica/downloads","issues_url":"https://api.github.com/repos/friendica/friendica/issues{/number}","pulls_url":"https://api.github.com/repos/friendica/friendica/pulls{/number}","milestones_url":"https://api.github.com/repos/friendica/friendica/milestones{/number}","notifications_url":"https://api.github.com/repos/friendica/friendica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/friendica/friendica/labels{/name}","releases_url":"https://api.github.com/repos/friendica/friendica/releases{/id}","deployments_url":"https://api.github.com/repos/friendica/friendica/deployments","created_at":"2011-11-06T22:19:41Z","updated_at":"2018-08-20T04:30:34Z","pushed_at":"2018-08-20T04:30:30Z","git_url":"git://github.com/friendica/friendica.git","ssh_url":"git@github.com:friendica/friendica.git","clone_url":"https://github.com/friendica/friendica.git","svn_url":"https://github.com/friendica/friendica","homepage":"https://friendi.ca","size":104850,"stargazers_count":618,"watchers_count":618,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":204,"mirror_url":null,"archived":false,"open_issues_count":399,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":204,"open_issues":399,"watchers":618,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/friendica/friendica/pulls/5639"},"html":{"href":"https://github.com/friendica/friendica/pull/5639"},"issue":{"href":"https://api.github.com/repos/friendica/friendica/issues/5639"},"comments":{"href":"https://api.github.com/repos/friendica/friendica/issues/5639/comments"},"review_comments":{"href":"https://api.github.com/repos/friendica/friendica/pulls/5639/comments"},"review_comment":{"href":"https://api.github.com/repos/friendica/friendica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/friendica/friendica/pulls/5639/commits"},"statuses":{"href":"https://api.github.com/repos/friendica/friendica/statuses/f770b3b4dc4e922f07768dc358b3f7ddda8f3c19"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"MrPetovan"}}