fix: 설문 관련 메인 페이지 버그
This commit is contained in:
1 parent
30ff62163d
commit
2f8f275ce8
1 file changed
+1
-1
+1
-1
@@ -116,7 +116,7 @@ $lastVoteID = $gameStor->lastVote;
|
||||
$lastVote = null;
|
||||
if($lastVoteID){
|
||||
$voteStor = KVStorage::getStorage($db, 'vote');
|
||||
$lastVote = new VoteInfo($voteStor->getValue("vote_{$voteID}"));
|
||||
$lastVote = new VoteInfo($voteStor->getValue("vote_{$lastVoteID}"));
|
||||
if($lastVote->endDate && $lastVote->endDate < TimeUtil::now()){
|
||||
$lastVote = null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user