{"action":"closed","issue":{"url":"https://api.github.com/repos/mybb/mybb/issues/1776","labels_url":"https://api.github.com/repos/mybb/mybb/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/mybb/mybb/issues/1776/comments","events_url":"https://api.github.com/repos/mybb/mybb/issues/1776/events","html_url":"https://github.com/mybb/mybb/issues/1776","id":55383624,"number":1776,"title":"Change some escape_strings to get_input INT","user":{"login":"PaulBender","id":1266734,"avatar_url":"https://avatars.githubusercontent.com/u/1266734?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulBender","html_url":"https://github.com/PaulBender","followers_url":"https://api.github.com/users/PaulBender/followers","following_url":"https://api.github.com/users/PaulBender/following{/other_user}","gists_url":"https://api.github.com/users/PaulBender/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulBender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulBender/subscriptions","organizations_url":"https://api.github.com/users/PaulBender/orgs","repos_url":"https://api.github.com/users/PaulBender/repos","events_url":"https://api.github.com/users/PaulBender/events{/privacy}","received_events_url":"https://api.github.com/users/PaulBender/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mybb/mybb/labels/1.8","name":"1.8","color":"5319e7"},{"url":"https://api.github.com/repos/mybb/mybb/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/mybb/mybb/labels/p:low","name":"p:low","color":"79B6FB"}],"state":"closed","locked":false,"assignee":{"login":"PaulBender","id":1266734,"avatar_url":"https://avatars.githubusercontent.com/u/1266734?v=3","gravatar_id":"","url":"https://api.github.com/users/PaulBender","html_url":"https://github.com/PaulBender","followers_url":"https://api.github.com/users/PaulBender/followers","following_url":"https://api.github.com/users/PaulBender/following{/other_user}","gists_url":"https://api.github.com/users/PaulBender/gists{/gist_id}","starred_url":"https://api.github.com/users/PaulBender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaulBender/subscriptions","organizations_url":"https://api.github.com/users/PaulBender/orgs","repos_url":"https://api.github.com/users/PaulBender/repos","events_url":"https://api.github.com/users/PaulBender/events{/privacy}","received_events_url":"https://api.github.com/users/PaulBender/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/mybb/mybb/milestones/9","html_url":"https://github.com/mybb/mybb/milestones/1.8.5","labels_url":"https://api.github.com/repos/mybb/mybb/milestones/9/labels","id":871061,"number":9,"title":"1.8.5","description":"","creator":{"login":"PirataNervo","id":1008807,"avatar_url":"https://avatars.githubusercontent.com/u/1008807?v=3","gravatar_id":"","url":"https://api.github.com/users/PirataNervo","html_url":"https://github.com/PirataNervo","followers_url":"https://api.github.com/users/PirataNervo/followers","following_url":"https://api.github.com/users/PirataNervo/following{/other_user}","gists_url":"https://api.github.com/users/PirataNervo/gists{/gist_id}","starred_url":"https://api.github.com/users/PirataNervo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PirataNervo/subscriptions","organizations_url":"https://api.github.com/users/PirataNervo/orgs","repos_url":"https://api.github.com/users/PirataNervo/repos","events_url":"https://api.github.com/users/PirataNervo/events{/privacy}","received_events_url":"https://api.github.com/users/PirataNervo/received_events","type":"User","site_admin":false},"open_issues":113,"closed_issues":26,"state":"open","created_at":"2014-11-18T11:54:46Z","updated_at":"2015-03-17T13:09:10Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-01-24T20:24:27Z","updated_at":"2015-03-17T13:09:10Z","closed_at":"2015-03-17T13:09:10Z","body":"There are a few instances in the Admin CP where $db->escape_string is used for a numeric value instead of $mybb->get_input('value', MyBB::INPUT_INT).\r\n\r\nhttps://github.com/mybb/mybb/blob/feature/admin/modules/config/calendars.php#L61 (and the four lines below it).\r\nhttps://github.com/mybb/mybb/blob/feature/admin/modules/config/mycode.php#L120\r\nhttps://github.com/mybb/mybb/blob/feature/admin/modules/config/profile_fields.php#L97"}}