last fix - i hope - in events
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 9 Jan 2006 06:46:40 +0000 (06:46 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Mon, 9 Jan 2006 06:46:40 +0000 (06:46 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.9@196 839d8a87-29fc-0310-9880-83ba4fa771e5

htdocs.net/groupe/evenements.php
htdocs.net/groupe/evt-modif.php

index cbf1ad3..edaf1f2 100644 (file)
@@ -109,7 +109,9 @@ $page->assign('logged', logged());
 $page->assign('admin', may_update());
 
 $evenements = $globals->xdb->iterator(
-"SELECT  e.eid, e.intitule, e.descriptif,
+"SELECT  e.eid, 
+         IF(e.intitule = '', ' ', e.intitule) AS intitule,
+         IF(e.descriptif = '', ' ', e.descriptif) AS descriptif,
         e.debut, e.fin,
         LEFT(10,e.debut) AS debut_day,
         LEFT(10,e.fin) AS fin_day,
index 1b1ba55..e56501f 100644 (file)
@@ -204,7 +204,7 @@ if (Env::has('sup') && $eid) {
 }
 
 if (!$get_form)
-    redirect("Location: evenements.php");
+    redirect("evenements.php");
 
 // get a list of all the payment for this asso
 $res = $globals->xdb->iterator