Update of /home/spip-cvs/spip
In directory alan:/tmp/cvs-serv17641
Modified Files:
inc-criteres.php3
Log Message:
en voulant autoriser le tri {par $GLOBALS[tri]} j'ai ajouté un bug empechant le tri {par toto, titi}
Index: inc-criteres.php3
RCS file: /home/spip-cvs/spip/inc-criteres.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- inc-criteres.php3 30 Aug 2004 22:32:49 -0000 1.3
+++ inc-criteres.php3 1 Sep 2004 20:32:45 -0000 1.4
@@ -228,9 +228,9 @@
}
// tris par critere bizarre
// (formule composee, virgules, etc).
- else {
- $boucle->order = $tri; // autorise le hack {par $GLOBALS["tri"]}
- }
+ // autoriser le hack {par $GLOBALS["tri"]}
+ else
+ $boucle->order = "\"$tri\"";
}