summaryrefslogtreecommitdiffstats
path: root/web/html/home.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/home.php')
-rw-r--r--web/html/home.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/html/home.php b/web/html/home.php
index ee7caf77..26754916 100644
--- a/web/html/home.php
+++ b/web/html/home.php
@@ -35,7 +35,9 @@ if (isset($_COOKIE["AURSID"])) {
?>
<h3><?= __("My Requests"); ?></h3>
<?php
- $results = pkgreq_list(0, 50, uid_from_sid($_COOKIE["AURSID"]));
+ $archive_time = config_get_int('options', 'request_archive_time');
+ $from = time() - $archive_time;
+ $results = pkgreq_list(0, 50, uid_from_sid($_COOKIE["AURSID"]), $from);
$show_headers = false;
include('pkgreq_results.php');
?>