{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/20152","labels_url":"https://api.github.com/repos/owncloud/core/issues/20152/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/20152/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/20152/events","html_url":"https://github.com/owncloud/core/pull/20152","id":114056627,"number":20152,"title":"Remove invalid type-cast","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/3%20-%20To%20Review","name":"3 - To Review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/48","html_url":"https://github.com/owncloud/core/milestones/9.0-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/48/labels","id":1196845,"number":48,"title":"9.0-current","description":"","creator":{"login":"cmonteroluque","id":879976,"avatar_url":"https://avatars.githubusercontent.com/u/879976?v=3","gravatar_id":"","url":"https://api.github.com/users/cmonteroluque","html_url":"https://github.com/cmonteroluque","followers_url":"https://api.github.com/users/cmonteroluque/followers","following_url":"https://api.github.com/users/cmonteroluque/following{/other_user}","gists_url":"https://api.github.com/users/cmonteroluque/gists{/gist_id}","starred_url":"https://api.github.com/users/cmonteroluque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmonteroluque/subscriptions","organizations_url":"https://api.github.com/users/cmonteroluque/orgs","repos_url":"https://api.github.com/users/cmonteroluque/repos","events_url":"https://api.github.com/users/cmonteroluque/events{/privacy}","received_events_url":"https://api.github.com/users/cmonteroluque/received_events","type":"User","site_admin":false},"open_issues":519,"closed_issues":209,"state":"open","created_at":"2015-07-07T14:21:23Z","updated_at":"2015-10-29T14:13:20Z","due_on":"2016-02-09T05:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-29T14:04:28Z","updated_at":"2015-10-29T14:16:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/20152","html_url":"https://github.com/owncloud/core/pull/20152","diff_url":"https://github.com/owncloud/core/pull/20152.diff","patch_url":"https://github.com/owncloud/core/pull/20152.patch"},"body":"This is an `is_array` operation and not a `in_array` one. Thus this typecast is not required.\r\n\r\nFixes https://github.com/owncloud/core/issues/20095\r\n\r\n@rullzer @PVince81 THX"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/152193692","html_url":"https://github.com/owncloud/core/pull/20152#issuecomment-152193692","issue_url":"https://api.github.com/repos/owncloud/core/issues/20152","id":152193692,"user":{"login":"PVince81","id":277525,"avatar_url":"https://avatars.githubusercontent.com/u/277525?v=3","gravatar_id":"","url":"https://api.github.com/users/PVince81","html_url":"https://github.com/PVince81","followers_url":"https://api.github.com/users/PVince81/followers","following_url":"https://api.github.com/users/PVince81/following{/other_user}","gists_url":"https://api.github.com/users/PVince81/gists{/gist_id}","starred_url":"https://api.github.com/users/PVince81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PVince81/subscriptions","organizations_url":"https://api.github.com/users/PVince81/orgs","repos_url":"https://api.github.com/users/PVince81/repos","events_url":"https://api.github.com/users/PVince81/events{/privacy}","received_events_url":"https://api.github.com/users/PVince81/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T14:16:02Z","updated_at":"2015-10-29T14:16:02Z","body":"Still happening, apparently on the line after your fix:\r\n```\r\n{\"reqId\":\"hJ4cK7lIrtkvbS2wJruI\",\"remoteAddr\":\"127.0.0.1\",\"app\":\"PHP\",\"message\":\"Array to string conversion at \\/srv\\/www\\/htdocs\\/owncloud\\/core\\/ajax\\/share.php#364\",\"level\":3,\"time\":\"2015-10-29T14:15:26+00:00\",\"method\":\"GET\",\"url\":\"\\/owncloud\\/index.php\\/core\\/ajax\\/share.php?fetch=getShareWith&search=use&limit=200&itemShares%5B0%5D%5B%5D=user1&itemShares%5B0%5D%5B%5D=user2&itemShares%5B0%5D%5B%5D=user3&itemType=file\"}\r\n```"}}