{"action":"closed","issue":{"url":"https://api.github.com/repos/tombenner/wp-mvc/issues/18","labels_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/18/comments","events_url":"https://api.github.com/repos/tombenner/wp-mvc/issues/18/events","html_url":"https://github.com/tombenner/wp-mvc/issues/18","id":7039097,"number":18,"title":"Form Helper input value display","user":{"login":"mattijevi","id":1588577,"avatar_url":"https://avatars.githubusercontent.com/u/1588577?v=3","gravatar_id":"","url":"https://api.github.com/users/mattijevi","html_url":"https://github.com/mattijevi","followers_url":"https://api.github.com/users/mattijevi/followers","following_url":"https://api.github.com/users/mattijevi/following{/other_user}","gists_url":"https://api.github.com/users/mattijevi/gists{/gist_id}","starred_url":"https://api.github.com/users/mattijevi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattijevi/subscriptions","organizations_url":"https://api.github.com/users/mattijevi/orgs","repos_url":"https://api.github.com/users/mattijevi/repos","events_url":"https://api.github.com/users/mattijevi/events{/privacy}","received_events_url":"https://api.github.com/users/mattijevi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2012-09-21T11:57:43Z","updated_at":"2015-05-16T14:45:30Z","closed_at":"2015-05-16T14:45:30Z","body":"Could this line be changed:\nhttps://github.com/tombenner/wp-mvc/blob/master/core/helpers/mvc_form_helper.php#L48\n\nfrom:\n'value' => empty($this->object->$field_name) ? '' : $this->object->$field_name\n\nto:\n\n'value' => empty($this->object) || strlen(trim($this->object->$field_name)) == 0 ? '' : $this->object->$field_name"}}