Dans l'input field de recherche rapide dans l'annuaire, Suppression du texte et resta...
[platal.git] / htdocs / listes / index.php
index dee288d..3184fa5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2004 Polytechnique.org                              *
+ *  Copyright (C) 2003-2006 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -28,11 +28,11 @@ $client =& lists_xmlrpc(Session::getInt('uid'), Session::get('password'));
 
 if(Get::has('del')) {
     $client->unsubscribe(Get::get('del'));
-    header('Location: index.php');
+    redirect('index.php');
 }
 if(Get::has('add')) {
     $client->subscribe(Get::get('add'));
-    header('Location: index.php');
+    redirect('index.php');
 }
 if(Post::has('promo_add')) {
     $promo = Post::getInt('promo_add');