mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
30일 보다 짧은 기간의 설문조사 문제
30일 보다 유효기간이 짧은 설문조사는 생성이 불가능(UI 상에서)했던 문제 수정.
This commit is contained in:
parent
494652ea55
commit
dda216d4f6
3 changed files with 13 additions and 12 deletions
|
|
@ -22,7 +22,7 @@ class pollController extends poll
|
|||
$stop_date = Context::get('stop_date');
|
||||
if($stop_date < date('Ymd'))
|
||||
{
|
||||
$stop_date = date('YmdHis', $_SERVER['REQUEST_TIME']+60*60*24*365);
|
||||
$stop_date = date('YmdHis', $_SERVER['REQUEST_TIME']+60*60*24*30);
|
||||
}
|
||||
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue