{"action":"created","issue":{"url":"https://api.github.com/repos/opencart/opencart/issues/3896","labels_url":"https://api.github.com/repos/opencart/opencart/issues/3896/labels{/name}","comments_url":"https://api.github.com/repos/opencart/opencart/issues/3896/comments","events_url":"https://api.github.com/repos/opencart/opencart/issues/3896/events","html_url":"https://github.com/opencart/opencart/issues/3896","id":130060746,"number":3896,"title":"admin/controller/catalog/category.php  issue","user":{"login":"johnqiuwan","id":2849964,"avatar_url":"https://avatars.githubusercontent.com/u/2849964?v=3","gravatar_id":"","url":"https://api.github.com/users/johnqiuwan","html_url":"https://github.com/johnqiuwan","followers_url":"https://api.github.com/users/johnqiuwan/followers","following_url":"https://api.github.com/users/johnqiuwan/following{/other_user}","gists_url":"https://api.github.com/users/johnqiuwan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnqiuwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnqiuwan/subscriptions","organizations_url":"https://api.github.com/users/johnqiuwan/orgs","repos_url":"https://api.github.com/users/johnqiuwan/repos","events_url":"https://api.github.com/users/johnqiuwan/events{/privacy}","received_events_url":"https://api.github.com/users/johnqiuwan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T01:17:27Z","updated_at":"2016-01-31T06:12:37Z","closed_at":"2016-01-31T06:12:37Z","body":"I saw the following code in the file admin/controller/catalog/category.php around line 53:\r\n\r\nif (($this->request->server['REQUEST_METHOD'] == 'POST') && $this->validateForm()) {\r\n\t\t\t$this->model_catalog_category->editCategory($this->request->get['category_id'], $this->request->post);\r\n\r\n\r\nShould we change it \r\n\r\nfrom:\r\n$this->request->get['category_id']\r\n\r\nto:\r\n$this->request->post['category_id']"},"comment":{"url":"https://api.github.com/repos/opencart/opencart/issues/comments/177408962","html_url":"https://github.com/opencart/opencart/issues/3896#issuecomment-177408962","issue_url":"https://api.github.com/repos/opencart/opencart/issues/3896","id":177408962,"user":{"login":"danielkerr","id":5079756,"avatar_url":"https://avatars.githubusercontent.com/u/5079756?v=3","gravatar_id":"","url":"https://api.github.com/users/danielkerr","html_url":"https://github.com/danielkerr","followers_url":"https://api.github.com/users/danielkerr/followers","following_url":"https://api.github.com/users/danielkerr/following{/other_user}","gists_url":"https://api.github.com/users/danielkerr/gists{/gist_id}","starred_url":"https://api.github.com/users/danielkerr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielkerr/subscriptions","organizations_url":"https://api.github.com/users/danielkerr/orgs","repos_url":"https://api.github.com/users/danielkerr/repos","events_url":"https://api.github.com/users/danielkerr/events{/privacy}","received_events_url":"https://api.github.com/users/danielkerr/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T06:12:37Z","updated_at":"2016-01-31T06:12:37Z","body":"No. "}}