backport : utilisation de redirect
authorx2002bobillot <x2002bobillot@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 22 Feb 2006 22:09:03 +0000 (22:09 +0000)
committerx2002bobillot <x2002bobillot@839d8a87-29fc-0310-9880-83ba4fa771e5>
Wed, 22 Feb 2006 22:09:03 +0000 (22:09 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@252 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs.net/groupe/evt-modif.php

index c331916..dd6802f 100644 (file)
@@ -201,8 +201,7 @@ if (Env::has('sup') && $eid) {
     // delete the requests for payments
     require_once('validations.inc.php');
     $globals->xdb->execute("DELETE FROM requests WHERE type = 'paiements' AND data  LIKE {?}", PayReq::same_event($eid, $globals->asso('id')));
-    header("Location: evenements.php");
-    die();
+    redirect("evenements.php");
 }
 
 if (!$get_form)