From 5603d2cea6f3b871c134d21ec8f125a575e8790f Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Fri, 2 Nov 2007 23:57:47 +0100 Subject: [PATCH] Change perms on xnet stay on the current page. This make this thing very easy to use, just select the permission and see what the current page looks like. Signed-off-by: Florent Bruneau --- modules/xnetgrp.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/xnetgrp.php b/modules/xnetgrp.php index db37f2a..5edf8e0 100644 --- a/modules/xnetgrp.php +++ b/modules/xnetgrp.php @@ -606,7 +606,7 @@ class XnetGrpModule extends PLModule break; } } - pl_redirect(""); + http_redirect($_SERVER['HTTP_REFERER']); } function handler_admin_annuaire(&$page) -- 2.1.4