aboutsummaryrefslogtreecommitdiff
path: root/history.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 09:52:41 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-24 09:52:41 +0100
commit8da3d5d0ea69aa9fc991c136ba6274cfc5f459ba (patch)
tree1cac3d9e59957b3e6b9fc0250ed0bb65406fc635 /history.rb
parente4d1de4f78d03bb3d9b5b759f2950c99f368ae6b (diff)
bugfix for empty history
Diffstat (limited to 'history.rb')
-rwxr-xr-xhistory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/history.rb b/history.rb
index a425d91..5f206d8 100755
--- a/history.rb
+++ b/history.rb
@@ -63,7 +63,7 @@ $html << table.to_html("",false)
$html << "<h2>History</h2>"
$html << "<div id='history'>"
-$html << table.history_selectform($cgi.include?("revision") ? nil : revno, $cgi["history"])
+$html << table.history_selectform($cgi.include?("revision") ? revno : nil, $cgi["history"])
$html << table.history_to_html(revno, $cgi["history"])
$html << "</div>"