{"action":"created","issue":{"url":"https://api.github.com/repos/whosoft/ponybook/issues/3","labels_url":"https://api.github.com/repos/whosoft/ponybook/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/whosoft/ponybook/issues/3/comments","events_url":"https://api.github.com/repos/whosoft/ponybook/issues/3/events","html_url":"https://github.com/whosoft/ponybook/issues/3","id":125549671,"number":3,"title":"webform.submissions 按当日限制","user":{"login":"whosoft","id":16088380,"avatar_url":"https://avatars.githubusercontent.com/u/16088380?v=3","gravatar_id":"","url":"https://api.github.com/users/whosoft","html_url":"https://github.com/whosoft","followers_url":"https://api.github.com/users/whosoft/followers","following_url":"https://api.github.com/users/whosoft/following{/other_user}","gists_url":"https://api.github.com/users/whosoft/gists{/gist_id}","starred_url":"https://api.github.com/users/whosoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whosoft/subscriptions","organizations_url":"https://api.github.com/users/whosoft/orgs","repos_url":"https://api.github.com/users/whosoft/repos","events_url":"https://api.github.com/users/whosoft/events{/privacy}","received_events_url":"https://api.github.com/users/whosoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-08T06:10:25Z","updated_at":"2016-01-08T06:13:37Z","closed_at":null,"body":"webform/includes/webform.submissions\r\n\r\nline 970\r\n\r\n\r\n    if ($node->webform['submit_interval'] != -1) {\r\n      $query->condition('submitted', REQUEST_TIME - $node->webform['submit_interval'], '>');\r\n    }\r\n-------------------------------------------------------------------------------------------------------------------------------------\r\n\r\n\r\n    if ($node->webform['submit_interval'] != -1 && $node->webform['submit_interval'] != 86400) {//'86400' => t('every day')\r\n      $query->condition('submitted', REQUEST_TIME - $node->webform['submit_interval'], '>');\r\n    }\r\n    if ($node->webform['submit_interval'] == 86400){\r\n        $query->condition('submitted', mktime(0,0,0), '>');\r\n    }\r\n\r\n "},"comment":{"url":"https://api.github.com/repos/whosoft/ponybook/issues/comments/169907618","html_url":"https://github.com/whosoft/ponybook/issues/3#issuecomment-169907618","issue_url":"https://api.github.com/repos/whosoft/ponybook/issues/3","id":169907618,"user":{"login":"whosoft","id":16088380,"avatar_url":"https://avatars.githubusercontent.com/u/16088380?v=3","gravatar_id":"","url":"https://api.github.com/users/whosoft","html_url":"https://github.com/whosoft","followers_url":"https://api.github.com/users/whosoft/followers","following_url":"https://api.github.com/users/whosoft/following{/other_user}","gists_url":"https://api.github.com/users/whosoft/gists{/gist_id}","starred_url":"https://api.github.com/users/whosoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whosoft/subscriptions","organizations_url":"https://api.github.com/users/whosoft/orgs","repos_url":"https://api.github.com/users/whosoft/repos","events_url":"https://api.github.com/users/whosoft/events{/privacy}","received_events_url":"https://api.github.com/users/whosoft/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T06:13:37Z","updated_at":"2016-01-08T06:13:37Z","body":"  $interval_options = array(…\r\n\r\n  $interval_options = array(\r\n      '-1' => t('ever'),\r\n      '60' => t('every minute'),\r\n      '300' => t('every 5 minutes'),\r\n      '3600' => t('every hour'),\r\n      '86400' => t('every day'),\r\n      '604800' => t('every week'),\r\n    );"}}