From 1cec3c9e4c4219b3935602df1accb24082ccaa5f Mon Sep 17 00:00:00 2001 From: yi12345 Date: Tue, 17 Sep 2013 23:50:01 +0300 Subject: [PATCH] update --- Templates/Alliance/Forum/forum_6.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/Alliance/Forum/forum_6.tpl b/Templates/Alliance/Forum/forum_6.tpl index a226ee2c..35313a1a 100644 --- a/Templates/Alliance/Forum/forum_6.tpl +++ b/Templates/Alliance/Forum/forum_6.tpl @@ -64,7 +64,7 @@ if($database->CheckEditRes($aid)=="1"){ checkSurvey($arr['id'])){ $survey = $database->getSurvey($arr['id']); - if(!$database->checkVote($arr['id'], $session->uid) && $survey['ends'] > time()){ + if(!$database->checkVote($arr['id'], $session->uid) && ($survey['ends'] > time() || $survey['ends'] == 0)){ ?>
Survey: