changeset 2:50216ed31d78

Add voting button link, if enabled.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 04 Dec 2012 19:11:53 +0200
parents e2cbadeb4c7b
children 916623924bd5
files index.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/index.php	Tue Dec 04 19:07:28 2012 +0200
+++ b/index.php	Tue Dec 04 19:11:53 2012 +0200
@@ -39,7 +39,7 @@
   <a href="event">Event</a>
   <a href="attendees">Attendees</a>
 <?
-if (0 && chkSetting("allowVoting"))
+if (stGetSetting("allowVoting", FALSE))
 echo "  <a href=\"vote\">Vote</a>\n";
 ?>
  </div>