aboutsummaryrefslogtreecommitdiff
path: root/history.rb
diff options
context:
space:
mode:
Diffstat (limited to 'history.rb')
-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>"