aboutsummaryrefslogtreecommitdiff
path: root/participate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'participate.rb')
-rw-r--r--participate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/participate.rb b/participate.rb
index b4a7f66..45c0148 100644
--- a/participate.rb
+++ b/participate.rb
@@ -67,7 +67,7 @@ if $cgi.include?("add_participant")
table.add_participant($cgi["add_participant"],agreed)
end
-table.add_comment($cgi["commentname"],$cgi["comment"]) if $cgi.include?("comment")
+table.add_comment($cgi["commentname"],$cgi["comment"]) if $cgi["comment"] != ""
table.delete_comment($cgi["delete_comment"].to_i) if $cgi.include?("delete_comment")
# POLL