Change perms on xnet stay on the current page.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 2 Nov 2007 22:57:47 +0000 (23:57 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Fri, 2 Nov 2007 22:57:47 +0000 (23:57 +0100)
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 <florent.bruneau@polytechnique.org>
modules/xnetgrp.php

index db37f2a..5edf8e0 100644 (file)
@@ -606,7 +606,7 @@ class XnetGrpModule extends PLModule
                 break;
             }
         }
-        pl_redirect("");
+        http_redirect($_SERVER['HTTP_REFERER']);
     }
 
     function handler_admin_annuaire(&$page)