{"action":"created","issue":{"url":"https://api.github.com/repos/fuel/core/issues/2022","repository_url":"https://api.github.com/repos/fuel/core","labels_url":"https://api.github.com/repos/fuel/core/issues/2022/labels{/name}","comments_url":"https://api.github.com/repos/fuel/core/issues/2022/comments","events_url":"https://api.github.com/repos/fuel/core/issues/2022/events","html_url":"https://github.com/fuel/core/issues/2022","id":178517508,"number":2022,"title":"Request method DELETE throws error","user":{"login":"nakedgen","id":8929011,"avatar_url":"https://avatars.githubusercontent.com/u/8929011?v=3","gravatar_id":"","url":"https://api.github.com/users/nakedgen","html_url":"https://github.com/nakedgen","followers_url":"https://api.github.com/users/nakedgen/followers","following_url":"https://api.github.com/users/nakedgen/following{/other_user}","gists_url":"https://api.github.com/users/nakedgen/gists{/gist_id}","starred_url":"https://api.github.com/users/nakedgen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nakedgen/subscriptions","organizations_url":"https://api.github.com/users/nakedgen/orgs","repos_url":"https://api.github.com/users/nakedgen/repos","events_url":"https://api.github.com/users/nakedgen/events{/privacy}","received_events_url":"https://api.github.com/users/nakedgen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-22T04:07:16Z","updated_at":"2016-09-22T12:16:29Z","closed_at":null,"body":"after last update in Core\\Classes\\Input\\instance.php in last condition at the end of file added **strtolower**\r\n\r\n`\r\nif ($this->method() == 'PUT' or $this->method() == 'PATCH' or $this->method() == 'DELETE')\r\n\t\t{\r\n\r\n$this->{'input_'.strtolower($this->method())} = $php_input; // throws error in all() method\r\n\t\t\t$this->{'input_'.($this->method())} = $php_input; // working correctly\r\n\t\t}\r\n`"},"comment":{"url":"https://api.github.com/repos/fuel/core/issues/comments/248886892","html_url":"https://github.com/fuel/core/issues/2022#issuecomment-248886892","issue_url":"https://api.github.com/repos/fuel/core/issues/2022","id":248886892,"user":{"login":"WanWizard","id":456954,"avatar_url":"https://avatars.githubusercontent.com/u/456954?v=3","gravatar_id":"","url":"https://api.github.com/users/WanWizard","html_url":"https://github.com/WanWizard","followers_url":"https://api.github.com/users/WanWizard/followers","following_url":"https://api.github.com/users/WanWizard/following{/other_user}","gists_url":"https://api.github.com/users/WanWizard/gists{/gist_id}","starred_url":"https://api.github.com/users/WanWizard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WanWizard/subscriptions","organizations_url":"https://api.github.com/users/WanWizard/orgs","repos_url":"https://api.github.com/users/WanWizard/repos","events_url":"https://api.github.com/users/WanWizard/events{/privacy}","received_events_url":"https://api.github.com/users/WanWizard/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T12:16:29Z","updated_at":"2016-09-22T12:16:29Z","body":"Is this better?\r\n````\r\n\t\t$method = strtolower($this->method());\r\n\t\tif ($method == 'put' or $method == 'patch' or $method == 'delete')\r\n\t\t{\r\n\t\t\t$this->{'input_'.$method} = $php_input;\r\n\t\t}\r\n````"}}
{"actor":{"display_login":"WanWizard"}}