From 231dabfb83c14823e87a9248fe0fcde08bc0b4d4 Mon Sep 17 00:00:00 2001 From: cigamit Date: Tue, 29 Mar 2016 20:56:57 -0500 Subject: [PATCH] minor developer debug issue --- lib/html_utility.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/html_utility.php b/lib/html_utility.php index 5aa3b47e27..442e26ba20 100644 --- a/lib/html_utility.php +++ b/lib/html_utility.php @@ -526,12 +526,12 @@ function validate_store_request_vars($filters, $sess_prefix = '') { @arg $default_value - the default value to use if values cannot be obtained using the session or request array */ function load_current_session_value($request_var_name, $session_var_name, $default_value) { - if (isset($_REQUEST[$request_var_name])) { - $_SESSION[$session_var_name] = $_REQUEST[$request_var_name]; + if (isset_request_var($request_var_name)) { + $_SESSION[$session_var_name] = get_request_var($request_var_name); }elseif (isset($_SESSION[$session_var_name])) { - $_REQUEST[$request_var_name] = $_SESSION[$session_var_name]; + set_request_var($request_var_name, $_SESSION[$session_var_name]); }else{ - $_REQUEST[$request_var_name] = $default_value; + set_request_var($request_var_name, $default_value); } }