{"action":"opened","issue":{"url":"https://api.github.com/repos/baidut/markit/issues/32","labels_url":"https://api.github.com/repos/baidut/markit/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/baidut/markit/issues/32/comments","events_url":"https://api.github.com/repos/baidut/markit/issues/32/events","html_url":"https://github.com/baidut/markit/issues/32","id":121923603,"number":32,"title":"标签bug","user":{"login":"baidut","id":6234266,"avatar_url":"https://avatars.githubusercontent.com/u/6234266?v=3","gravatar_id":"","url":"https://api.github.com/users/baidut","html_url":"https://github.com/baidut","followers_url":"https://api.github.com/users/baidut/followers","following_url":"https://api.github.com/users/baidut/following{/other_user}","gists_url":"https://api.github.com/users/baidut/gists{/gist_id}","starred_url":"https://api.github.com/users/baidut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baidut/subscriptions","organizations_url":"https://api.github.com/users/baidut/orgs","repos_url":"https://api.github.com/users/baidut/repos","events_url":"https://api.github.com/users/baidut/events{/privacy}","received_events_url":"https://api.github.com/users/baidut/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"ccandcc","id":16200488,"avatar_url":"https://avatars.githubusercontent.com/u/16200488?v=3","gravatar_id":"","url":"https://api.github.com/users/ccandcc","html_url":"https://github.com/ccandcc","followers_url":"https://api.github.com/users/ccandcc/followers","following_url":"https://api.github.com/users/ccandcc/following{/other_user}","gists_url":"https://api.github.com/users/ccandcc/gists{/gist_id}","starred_url":"https://api.github.com/users/ccandcc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccandcc/subscriptions","organizations_url":"https://api.github.com/users/ccandcc/orgs","repos_url":"https://api.github.com/users/ccandcc/repos","events_url":"https://api.github.com/users/ccandcc/events{/privacy}","received_events_url":"https://api.github.com/users/ccandcc/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-12-13T14:49:45Z","updated_at":"2015-12-13T14:49:45Z","closed_at":null,"body":"在 Marks 页面下直接添加标签会出 bug，因为没有传递theme的信息，事实上不需要theme的信息，因为一个mark对应一个唯一的theme\r\n\r\n```\r\nMessage: Missing argument 2 for User::new_tag()\r\n\r\nFilename: controllers/User.php\r\n\r\nLine Number: 53\r\n\r\nBacktrace:\r\n\r\nFile: E:\\xampp\\htdocs\\baidut\\markit\\src\\application\\controllers\\User.php\r\nLine: 53\r\nFunction: _error_handler\r\n\r\n\r\nFile: E:\\xampp\\htdocs\\baidut\\markit\\src\\index.php\r\nLine: 292\r\nFunction: require_once\r\n\r\nA PHP Error was encountered\r\n\r\nSeverity: Notice\r\n\r\nMessage: Undefined variable: theme_id\r\n\r\nFilename: controllers/User.php\r\n\r\nLine Number: 54\r\n\r\nBacktrace:\r\n\r\nFile: E:\\xampp\\htdocs\\baidut\\markit\\src\\application\\controllers\\User.php\r\nLine: 54\r\nFunction: _error_handler\r\n\r\nFile: E:\\xampp\\htdocs\\baidut\\markit\\src\\index.php\r\nLine: 292\r\nFunction: require_once\r\n```"}}