{"issue":{"state":"open","created_at":"2011-11-30T15:10:46Z","updated_at":"2011-11-30T16:08:21Z","comments":1,"user":{"gravatar_id":"1b8217884d085436bbb7d56b96b8570c","id":296442,"url":"https://api.github.com/users/juanramon","avatar_url":"https://secure.gravatar.com/avatar/1b8217884d085436bbb7d56b96b8570c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"juanramon"},"body":"When you try to clear *spam*, *misclassifieds* stats in **manage items**, you get a warning error:\r\n\r\n```\r\nWarning: array_keys() [function.array-keys]: The first argument should be an array in /oc-includes/osclass/classes/database/DAO.php on line 201\r\n\r\nWarning: Invalid argument supplied for foreach() in /oc-includes/osclass/classes/database/DAO.php on line 318\r\n```","assignee":{"gravatar_id":"9a3dad7dee673587fc28ff52ed8222ab","id":475423,"url":"https://api.github.com/users/conejoninja","avatar_url":"https://secure.gravatar.com/avatar/9a3dad7dee673587fc28ff52ed8222ab?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"conejoninja"},"id":2402845,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Admin","color":"FF8000","url":"https://api.github.com/repos/osclass/OSClass/labels/Admin"},{"name":"Bug","color":"e10c02","url":"https://api.github.com/repos/osclass/OSClass/labels/Bug"}],"number":65,"title":"Clear \"Mark as\" options","closed_at":null,"html_url":"https://github.com/osclass/OSClass/issues/65","url":"https://api.github.com/repos/osclass/OSClass/issues/65","milestone":{"state":"open","created_at":"2011-11-24T18:04:30Z","closed_issues":4,"due_on":null,"creator":{"gravatar_id":"1b8217884d085436bbb7d56b96b8570c","id":296442,"url":"https://api.github.com/users/juanramon","avatar_url":"https://secure.gravatar.com/avatar/1b8217884d085436bbb7d56b96b8570c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"juanramon"},"number":2,"description":"","title":"2.3.1","url":"https://api.github.com/repos/osclass/OSClass/milestones/2","open_issues":6}},"action":"created","comment":{"created_at":"2011-11-30T16:08:21Z","updated_at":"2011-11-30T16:08:21Z","user":{"gravatar_id":"1b8217884d085436bbb7d56b96b8570c","id":296442,"url":"https://api.github.com/users/juanramon","avatar_url":"https://secure.gravatar.com/avatar/1b8217884d085436bbb7d56b96b8570c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"juanramon"},"body":"Manage items > Filter by misclassifieds > Clear misclassifieds stats (in the same line as edit) = the error mentioned above","id":2961718,"url":"https://api.github.com/repos/osclass/OSClass/issues/comments/2961718"}}