summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index f06503043..d30500e94 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -81,7 +81,8 @@ function tpl_content_core(){
html_search();
break;
case 'revisions':
- html_revisions();
+ $first = is_numeric($_REQUEST['first']) ? intval($_REQUEST['first']) : 0;
+ html_revisions($first);
break;
case 'diff':
html_diff();