{"action":"opened","issue":{"url":"https://api.github.com/repos/dg/dibi/issues/308","repository_url":"https://api.github.com/repos/dg/dibi","labels_url":"https://api.github.com/repos/dg/dibi/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/dg/dibi/issues/308/comments","events_url":"https://api.github.com/repos/dg/dibi/issues/308/events","html_url":"https://github.com/dg/dibi/issues/308","id":351754905,"node_id":"MDU6SXNzdWUzNTE3NTQ5MDU=","number":308,"title":"Cant you fetchAssoc on array row","user":{"login":"josberger","id":10142825,"node_id":"MDQ6VXNlcjEwMTQyODI1","avatar_url":"https://avatars0.githubusercontent.com/u/10142825?v=4","gravatar_id":"","url":"https://api.github.com/users/josberger","html_url":"https://github.com/josberger","followers_url":"https://api.github.com/users/josberger/followers","following_url":"https://api.github.com/users/josberger/following{/other_user}","gists_url":"https://api.github.com/users/josberger/gists{/gist_id}","starred_url":"https://api.github.com/users/josberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josberger/subscriptions","organizations_url":"https://api.github.com/users/josberger/orgs","repos_url":"https://api.github.com/users/josberger/repos","events_url":"https://api.github.com/users/josberger/events{/privacy}","received_events_url":"https://api.github.com/users/josberger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-17T22:18:25Z","updated_at":"2018-08-17T22:18:25Z","closed_at":null,"author_association":"NONE","body":"Version: 4.0.0\r\n\r\n### Bug Description\r\nWhen I use array as return from fetch a cant use fetchAssoc beacause it throw an exception. \r\n\r\n### Steps To Reproduce\r\n$result->setRowClass(\"\");\r\n$result->fetchAssoc($keyColumn);\r\n\r\n### Expected Behavior\r\nReturn associative tree\r\n\r\n### Possible Solution\r\nAdd condition `&& !array_key_exists( $as, $row)` in the Result.php on line 249.\r\n"}}
{"actor":{"display_login":"josberger"}}