aboutsummaryrefslogtreecommitdiff
path: root/participate.rb
diff options
context:
space:
mode:
Diffstat (limited to 'participate.rb')
-rwxr-xr-xparticipate.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/participate.rb b/participate.rb
index 862325d..ff7da89 100755
--- a/participate.rb
+++ b/participate.rb
@@ -40,7 +40,7 @@ unless $cgi.include?("cancel")
end
$d.table.add_comment($cgi["commentname"],$cgi["comment"]) if $cgi["comment"] != ""
-$d.table.delete_comment($cgi["delete_comment"].to_i) if $cgi.include?("delete_comment")
+$d.table.delete_comment($cgi["delete_comment"]) if $cgi.include?("delete_comment")
$d.html.add_atom("atom.cgi") if File.exists?("../atom.rb")