From: Florent Bruneau Date: Fri, 2 Nov 2007 22:57:47 +0000 (+0100) Subject: Change perms on xnet stay on the current page. X-Git-Tag: xorg/0.9.16~229 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=5603d2cea6f3b871c134d21ec8f125a575e8790f;p=platal.git 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 --- 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)