diff options
Diffstat (limited to 'inc/template.php')
-rw-r--r-- | inc/template.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/template.php b/inc/template.php index 0b6e245ac..1385c7547 100644 --- a/inc/template.php +++ b/inc/template.php @@ -88,6 +88,10 @@ function tpl_content_core(){ html_diff(); break; case 'recent': + if (is_array($_REQUEST['first'])) { + $_REQUEST['first'] = array_keys($_REQUEST['first']); + $_REQUEST['first'] = $_REQUEST['first'][0]; + } $first = is_numeric($_REQUEST['first']) ? intval($_REQUEST['first']) : 0; html_recent($first); break; |