{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/13305","labels_url":"https://api.github.com/repos/owncloud/core/issues/13305/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/13305/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/13305/events","html_url":"https://github.com/owncloud/core/pull/13305","id":54171383,"number":13305,"title":"Use json_encode on string","user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/5+-+To+review","name":"5 - To review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/29","labels_url":"https://api.github.com/repos/owncloud/core/milestones/29/labels","id":841322,"number":29,"title":"8.0-current","description":null,"creator":{"login":"craigpg","id":160667,"avatar_url":"https://avatars.githubusercontent.com/u/160667?v=3","gravatar_id":"","url":"https://api.github.com/users/craigpg","html_url":"https://github.com/craigpg","followers_url":"https://api.github.com/users/craigpg/followers","following_url":"https://api.github.com/users/craigpg/following{/other_user}","gists_url":"https://api.github.com/users/craigpg/gists{/gist_id}","starred_url":"https://api.github.com/users/craigpg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigpg/subscriptions","organizations_url":"https://api.github.com/users/craigpg/orgs","repos_url":"https://api.github.com/users/craigpg/repos","events_url":"https://api.github.com/users/craigpg/events{/privacy}","received_events_url":"https://api.github.com/users/craigpg/received_events","type":"User","site_admin":false},"open_issues":63,"closed_issues":478,"state":"open","created_at":"2014-10-27T01:20:05Z","updated_at":"2015-01-13T10:35:47Z","due_on":"2015-01-02T22:00:00Z","closed_at":null},"comments":3,"created_at":"2015-01-13T10:06:41Z","updated_at":"2015-01-13T10:38:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/13305","html_url":"https://github.com/owncloud/core/pull/13305","diff_url":"https://github.com/owncloud/core/pull/13305.diff","patch_url":"https://github.com/owncloud/core/pull/13305.patch"},"body":"It's better to encode the string to prevent possible (yet unknown) bugs in combination with PHP's type juggling.\r\n\r\nPreviously the boolean statements evaluated to either an empty string (false) or a not empty one (true, then it was 1). Now it always evaluates to false or true.\r\n\r\nThis also removes a stray `-` that was not intended there but shouldn't have produced any bugs. Just to increase readability.\r\n\r\nThanks @nickvergessen for spotting.\r\n\r\nAddresses https://github.com/owncloud/core/pull/13235/files#r22852319"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/69725568","html_url":"https://github.com/owncloud/core/pull/13305#issuecomment-69725568","issue_url":"https://api.github.com/repos/owncloud/core/issues/13305","id":69725568,"user":{"login":"owncloud-bot","id":2709266,"avatar_url":"https://avatars.githubusercontent.com/u/2709266?v=3","gravatar_id":"","url":"https://api.github.com/users/owncloud-bot","html_url":"https://github.com/owncloud-bot","followers_url":"https://api.github.com/users/owncloud-bot/followers","following_url":"https://api.github.com/users/owncloud-bot/following{/other_user}","gists_url":"https://api.github.com/users/owncloud-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/owncloud-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owncloud-bot/subscriptions","organizations_url":"https://api.github.com/users/owncloud-bot/orgs","repos_url":"https://api.github.com/users/owncloud-bot/repos","events_url":"https://api.github.com/users/owncloud-bot/events{/privacy}","received_events_url":"https://api.github.com/users/owncloud-bot/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T10:38:49Z","updated_at":"2015-01-13T10:38:49Z","body":"\nRefer to this link for build results (access rights to CI server needed): \nhttps://ci.owncloud.org//job/pull-request-analyser-ng-simple/6534/\n:+1: Test PASSed. :+1:"}}