{"action":"opened","number":4363,"pull_request":{"url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4363","id":55409293,"html_url":"https://github.com/bcit-ci/CodeIgniter/pull/4363","diff_url":"https://github.com/bcit-ci/CodeIgniter/pull/4363.diff","patch_url":"https://github.com/bcit-ci/CodeIgniter/pull/4363.patch","issue_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4363","number":4363,"state":"open","locked":false,"title":"update attributes in the form helper","user":{"login":"Rodrigo54","id":8932920,"avatar_url":"https://avatars.githubusercontent.com/u/8932920?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodrigo54","html_url":"https://github.com/Rodrigo54","followers_url":"https://api.github.com/users/Rodrigo54/followers","following_url":"https://api.github.com/users/Rodrigo54/following{/other_user}","gists_url":"https://api.github.com/users/Rodrigo54/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodrigo54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodrigo54/subscriptions","organizations_url":"https://api.github.com/users/Rodrigo54/orgs","repos_url":"https://api.github.com/users/Rodrigo54/repos","events_url":"https://api.github.com/users/Rodrigo54/events{/privacy}","received_events_url":"https://api.github.com/users/Rodrigo54/received_events","type":"User","site_admin":false},"body":"if, in one of the key attributes of the array is null form_help returns only the key\r\n\r\nexample:\r\n\r\n```php\r\n$attributes = array(\r\n      'type' => 'text',\r\n      'disabled' => '',\r\n      'name' => 'text',\r\n      'id' => 'text',\r\n      'class' => 'text',\r\n      'value' => 'text',\r\n      );\r\necho = form_input($attributes);\r\n```\r\nreturn \r\n```html\r\n<input type=\"text\" name=\"text\" value=\"text\" disabled id=\"text\" class=\"text\" />\r\n```","created_at":"2016-01-08T00:10:48Z","updated_at":"2016-01-08T00:10:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4363/commits","review_comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4363/comments","review_comment_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4363/comments","statuses_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/statuses/14dd437c0e4184ceb50b3670464de1e2b9cdf80a","head":{"label":"Rodrigo54:develop","ref":"develop","sha":"14dd437c0e4184ceb50b3670464de1e2b9cdf80a","user":{"login":"Rodrigo54","id":8932920,"avatar_url":"https://avatars.githubusercontent.com/u/8932920?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodrigo54","html_url":"https://github.com/Rodrigo54","followers_url":"https://api.github.com/users/Rodrigo54/followers","following_url":"https://api.github.com/users/Rodrigo54/following{/other_user}","gists_url":"https://api.github.com/users/Rodrigo54/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodrigo54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodrigo54/subscriptions","organizations_url":"https://api.github.com/users/Rodrigo54/orgs","repos_url":"https://api.github.com/users/Rodrigo54/repos","events_url":"https://api.github.com/users/Rodrigo54/events{/privacy}","received_events_url":"https://api.github.com/users/Rodrigo54/received_events","type":"User","site_admin":false},"repo":{"id":49233541,"name":"CodeIgniter","full_name":"Rodrigo54/CodeIgniter","owner":{"login":"Rodrigo54","id":8932920,"avatar_url":"https://avatars.githubusercontent.com/u/8932920?v=3","gravatar_id":"","url":"https://api.github.com/users/Rodrigo54","html_url":"https://github.com/Rodrigo54","followers_url":"https://api.github.com/users/Rodrigo54/followers","following_url":"https://api.github.com/users/Rodrigo54/following{/other_user}","gists_url":"https://api.github.com/users/Rodrigo54/gists{/gist_id}","starred_url":"https://api.github.com/users/Rodrigo54/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rodrigo54/subscriptions","organizations_url":"https://api.github.com/users/Rodrigo54/orgs","repos_url":"https://api.github.com/users/Rodrigo54/repos","events_url":"https://api.github.com/users/Rodrigo54/events{/privacy}","received_events_url":"https://api.github.com/users/Rodrigo54/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Rodrigo54/CodeIgniter","description":"Open Source PHP Framework (originally from EllisLab)","fork":true,"url":"https://api.github.com/repos/Rodrigo54/CodeIgniter","forks_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/forks","keys_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/teams","hooks_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/hooks","issue_events_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/issues/events{/number}","events_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/events","assignees_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/assignees{/user}","branches_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/branches{/branch}","tags_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/tags","blobs_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/statuses/{sha}","languages_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/languages","stargazers_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/stargazers","contributors_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/contributors","subscribers_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/subscribers","subscription_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/subscription","commits_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/contents/{+path}","compare_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/merges","archive_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/downloads","issues_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/issues{/number}","pulls_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/pulls{/number}","milestones_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/milestones{/number}","notifications_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/labels{/name}","releases_url":"https://api.github.com/repos/Rodrigo54/CodeIgniter/releases{/id}","created_at":"2016-01-07T22:03:16Z","updated_at":"2016-01-07T22:03:19Z","pushed_at":"2016-01-07T23:27:36Z","git_url":"git://github.com/Rodrigo54/CodeIgniter.git","ssh_url":"git@github.com:Rodrigo54/CodeIgniter.git","clone_url":"https://github.com/Rodrigo54/CodeIgniter.git","svn_url":"https://github.com/Rodrigo54/CodeIgniter","homepage":"http://codeigniter.com/","size":41197,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"bcit-ci:develop","ref":"develop","sha":"3c6ace766c449e0a260587896e25d9971de6d812","user":{"login":"bcit-ci","id":8863432,"avatar_url":"https://avatars.githubusercontent.com/u/8863432?v=3","gravatar_id":"","url":"https://api.github.com/users/bcit-ci","html_url":"https://github.com/bcit-ci","followers_url":"https://api.github.com/users/bcit-ci/followers","following_url":"https://api.github.com/users/bcit-ci/following{/other_user}","gists_url":"https://api.github.com/users/bcit-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/bcit-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcit-ci/subscriptions","organizations_url":"https://api.github.com/users/bcit-ci/orgs","repos_url":"https://api.github.com/users/bcit-ci/repos","events_url":"https://api.github.com/users/bcit-ci/events{/privacy}","received_events_url":"https://api.github.com/users/bcit-ci/received_events","type":"Organization","site_admin":false},"repo":{"id":2234102,"name":"CodeIgniter","full_name":"bcit-ci/CodeIgniter","owner":{"login":"bcit-ci","id":8863432,"avatar_url":"https://avatars.githubusercontent.com/u/8863432?v=3","gravatar_id":"","url":"https://api.github.com/users/bcit-ci","html_url":"https://github.com/bcit-ci","followers_url":"https://api.github.com/users/bcit-ci/followers","following_url":"https://api.github.com/users/bcit-ci/following{/other_user}","gists_url":"https://api.github.com/users/bcit-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/bcit-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcit-ci/subscriptions","organizations_url":"https://api.github.com/users/bcit-ci/orgs","repos_url":"https://api.github.com/users/bcit-ci/repos","events_url":"https://api.github.com/users/bcit-ci/events{/privacy}","received_events_url":"https://api.github.com/users/bcit-ci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bcit-ci/CodeIgniter","description":"Open Source PHP Framework (originally from EllisLab)","fork":false,"url":"https://api.github.com/repos/bcit-ci/CodeIgniter","forks_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/forks","keys_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/teams","hooks_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/hooks","issue_events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/events{/number}","events_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/events","assignees_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/assignees{/user}","branches_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/branches{/branch}","tags_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/tags","blobs_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/statuses/{sha}","languages_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/languages","stargazers_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/stargazers","contributors_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/contributors","subscribers_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/subscribers","subscription_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/subscription","commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/contents/{+path}","compare_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/merges","archive_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/downloads","issues_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues{/number}","pulls_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls{/number}","milestones_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/milestones{/number}","notifications_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/labels{/name}","releases_url":"https://api.github.com/repos/bcit-ci/CodeIgniter/releases{/id}","created_at":"2011-08-19T13:34:00Z","updated_at":"2016-01-07T23:53:36Z","pushed_at":"2016-01-07T15:52:35Z","git_url":"git://github.com/bcit-ci/CodeIgniter.git","ssh_url":"git@github.com:bcit-ci/CodeIgniter.git","clone_url":"https://github.com/bcit-ci/CodeIgniter.git","svn_url":"https://github.com/bcit-ci/CodeIgniter","homepage":"http://codeigniter.com/","size":84901,"stargazers_count":11399,"watchers_count":11399,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5862,"mirror_url":null,"open_issues_count":69,"forks":5862,"open_issues":69,"watchers":11399,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4363"},"html":{"href":"https://github.com/bcit-ci/CodeIgniter/pull/4363"},"issue":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4363"},"comments":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/issues/4363/comments"},"review_comments":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4363/comments"},"review_comment":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/pulls/4363/commits"},"statuses":{"href":"https://api.github.com/repos/bcit-ci/CodeIgniter/statuses/14dd437c0e4184ceb50b3670464de1e2b9cdf80a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":22,"deletions":22,"changed_files":2}}