From 2da4ee89f6d0d17f2e645875a675d795981690ef Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Tue, 10 Jun 2014 06:54:32 +0000 Subject: [PATCH] Set the refresh interval on registrations --- app/registrations/status_registrations.php | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/app/registrations/status_registrations.php b/app/registrations/status_registrations.php index f99d50dcd3..60f97767b6 100644 --- a/app/registrations/status_registrations.php +++ b/app/registrations/status_registrations.php @@ -131,7 +131,12 @@ require_once "resources/check_auth.php"; echo "\n"; echo "\n"; - $refresh = check_str($_GET["refresh"]); + if (isset($_SESSION['registrations']['refresh']['numeric'])) { + $refresh = $_SESSION['registrations']['refresh']['numeric']; + } + else { + $_SESSION['registrations']['refresh']['numeric'] = 15; + } echo "\n"; echo " \n";