]> git.p6c8.net - selfforum.git/blobdiff - selfforum-cgi/shared/Conf/Admin.pm
added version checks, fixed a small bug in Template.pm
[selfforum.git] / selfforum-cgi / shared / Conf / Admin.pm
index 27a8c936ec7ce45540279e63ee52e5382f054c11..09bb103554fe2b211d11bd388b8f4130974bfe18 100644 (file)
@@ -70,7 +70,10 @@ sub read_admin_conf ($) {
                       quoteChars    => $char?$char -> getFirstChild -> getData:undef};
 
       my $voting = $forum -> getElementsByTagName ('Voting', 0) -> item (0);
-      $conf {Voting} = {voteLock => $voting -> getAttribute ('voteLock')};
+      $conf {Voting} = {
+        voteLock => $voting -> getAttribute ('voteLock'),
+        Limit    => $voting -> getAttribute ('Limit')
+      };
 
       # Severance
       $conf {Severance} = &get_severance ($forum -> getElementsByTagName ('Severance', 0) -> item (0));

patrick-canterino.de