use sesion_write_close before redirects ... should solve some login problems user...
[platal.git] / htdocs.net / groupe / listes.php
index b8c65c0..9c61c83 100644 (file)
@@ -10,11 +10,11 @@ $client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'), $globa
 
 if(Get::has('del')) {
     $client->unsubscribe(Get::get('del'));
-    header('Location: listes.php');
+    redirect('listes.php');
 }
 if(Get::has('add')) {
     $client->subscribe(Get::get('add'));
-    header('Location: listes.php');
+    redirect('listes.php');
 }
 if(Post::has('promo_add')) {
     $promo = Post::getInt('promo_add');