aboutsummaryrefslogtreecommitdiff
path: root/poll.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-03-01 21:54:06 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2011-03-01 21:54:06 +0100
commitb656daafbabd4122202045f0d83090c362e7c1c6 (patch)
treebc0079f6e032d70dd20ce24109a56125f51764b0 /poll.rb
parentd4ea4b3c76374a3bc12470f9403ad3f7d56eedb3 (diff)
bugfix: could not add comment
Diffstat (limited to 'poll.rb')
-rw-r--r--poll.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/poll.rb b/poll.rb
index fac4252..85d2ed8 100644
--- a/poll.rb
+++ b/poll.rb
@@ -337,8 +337,10 @@ TR
}
end
- ret += "<a class='top_bottom_ref' href='#top' title='"
- ret += _("Go Up") + "'>#{GOUP}</a>" if @comment.size > 5
+ if @comment.size > 5
+ ret += "<a class='top_bottom_ref' href='#top' title='"
+ ret += _("Go Up") + "'>#{GOUP}</a>"
+ end
if editable