{"action":"opened","issue":{"url":"https://api.github.com/repos/gantry/gantry5/issues/1585","repository_url":"https://api.github.com/repos/gantry/gantry5","labels_url":"https://api.github.com/repos/gantry/gantry5/issues/1585/labels{/name}","comments_url":"https://api.github.com/repos/gantry/gantry5/issues/1585/comments","events_url":"https://api.github.com/repos/gantry/gantry5/issues/1585/events","html_url":"https://github.com/gantry/gantry5/issues/1585","id":177713447,"number":1585,"title":"Inheritance converts associative arrays into objects","user":{"login":"mahagr","id":854915,"avatar_url":"https://avatars.githubusercontent.com/u/854915?v=3","gravatar_id":"","url":"https://api.github.com/users/mahagr","html_url":"https://github.com/mahagr","followers_url":"https://api.github.com/users/mahagr/followers","following_url":"https://api.github.com/users/mahagr/following{/other_user}","gists_url":"https://api.github.com/users/mahagr/gists{/gist_id}","starred_url":"https://api.github.com/users/mahagr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahagr/subscriptions","organizations_url":"https://api.github.com/users/mahagr/orgs","repos_url":"https://api.github.com/users/mahagr/repos","events_url":"https://api.github.com/users/mahagr/events{/privacy}","received_events_url":"https://api.github.com/users/mahagr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gantry/gantry5/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-19T06:42:44Z","updated_at":"2016-09-19T06:42:44Z","closed_at":null,"body":"Inheritance code is using `json_decode(json_encode(...)` in the `Layout::initInheritance()` function. The purpose of this was to clone all objects in the children instead of just referencing them, but it looks like its converting all associative arrays into objects as well.\r\n\r\nWe need to create deep clone function as json does not support both objects and associative arrays at the same time."}}
{"actor":{"display_login":"mahagr"}}