aboutsummaryrefslogtreecommitdiff
path: root/history.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-23 19:50:36 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2009-11-23 19:50:36 +0100
commit2fc1758c7be01cd3683457164c76cf7acd9df827 (patch)
tree8f80ad38744006dfb007ba41754520478e2932ca /history.rb
parent73cb84647e97679cbd69a3ea87d49f72b950c3df (diff)
show everytime 10 history entries
Diffstat (limited to '')
-rwxr-xr-xhistory.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/history.rb b/history.rb
index 46ab5ec..a425d91 100755
--- a/history.rb
+++ b/history.rb
@@ -63,9 +63,9 @@ $html << table.to_html("",false)
$html << "<h2>History</h2>"
$html << "<div id='history'>"
-historyselect = $cgi.include?("history") ? $cgi["history"] : nil
-$html << table.history_selectform($cgi.include?("revision") ? nil : revno, historyselect)
-$html << table.history_to_html(revno, historyselect)
+$html << table.history_selectform($cgi.include?("revision") ? nil : revno, $cgi["history"])
+
+$html << table.history_to_html(revno, $cgi["history"])
$html << "</div>"
$html << "</div></body>"