{"action":"opened","issue":{"url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/427","labels_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/427/comments","events_url":"https://api.github.com/repos/RESTful-Drupal/restful/issues/427/events","html_url":"https://github.com/RESTful-Drupal/restful/issues/427","id":60201412,"number":427,"title":"Fix syntax error.","user":{"login":"mateu-aguilo-bosch","id":1140906,"avatar_url":"https://avatars.githubusercontent.com/u/1140906?v=3","gravatar_id":"","url":"https://api.github.com/users/mateu-aguilo-bosch","html_url":"https://github.com/mateu-aguilo-bosch","followers_url":"https://api.github.com/users/mateu-aguilo-bosch/followers","following_url":"https://api.github.com/users/mateu-aguilo-bosch/following{/other_user}","gists_url":"https://api.github.com/users/mateu-aguilo-bosch/gists{/gist_id}","starred_url":"https://api.github.com/users/mateu-aguilo-bosch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mateu-aguilo-bosch/subscriptions","organizations_url":"https://api.github.com/users/mateu-aguilo-bosch/orgs","repos_url":"https://api.github.com/users/mateu-aguilo-bosch/repos","events_url":"https://api.github.com/users/mateu-aguilo-bosch/events{/privacy}","received_events_url":"https://api.github.com/users/mateu-aguilo-bosch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-07T10:45:47Z","updated_at":"2015-03-07T10:45:47Z","closed_at":null,"body":"This seems like an error:\r\n\r\n```php\r\nif (!empty($wrapper->url) && $url = $wrapper->url->value()); {\r\n  $this->setHttpHeaders('Location', $url);\r\n}\r\n```\r\n\r\nhttps://github.com/RESTful-Drupal/restful/blob/7.x-1.x/plugins/restful/RestfulEntityBase.php#L595"}}