summaryrefslogtreecommitdiff
path: root/inc/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/template.php')
-rw-r--r--inc/template.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/inc/template.php b/inc/template.php
index f76e48108..a5e656443 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -75,7 +75,9 @@ function tpl_content(){
html_diff();
break;
case 'recent':
- html_recent();
+ $first = $_REQUEST['first'];
+ if(empty($first)) $first=0;
+ html_recent($first);
break;
case 'index':
html_index($IDX); #FIXME can this be pulled from globals? is it sanitized correctly?