From 928fa67fced846e9286fa2b285463c426478e59b Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Thu, 1 Oct 2020 10:45:44 -0500 Subject: [PATCH] redirect to previous view after user perm changes --- web/includes/actions/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/actions/user.php b/web/includes/actions/user.php index acbcdab7e..9879b9c85 100644 --- a/web/includes/actions/user.php +++ b/web/includes/actions/user.php @@ -102,7 +102,7 @@ if ( $action == 'Save' ) { session_write_close(); $refreshParent = true; } - $view = 'none'; + $redirect = $_SERVER['HTTP_REFERER']; } } // end if $action == user ?>