21 Oct
2010
21 Oct
'10
9:53 p.m.
Le Thu, 21 Oct 2010 17:48:45 +0200 (CEST), vbriand@users.chorem.org a écrit :
+++ trunk/src/main/java/org/chorem/bow/ControllerServlet.java 2010-10-21 15:48:45 UTC (rev 118) ... @@ -248,7 +249,11 @@ ... if ((Boolean)session.getAttribute("admin") == true) {
Qu'est ce que c'est que ce prédicat saugrenu ?!?!? Je te propose : if (new Boolean((Boolean) session.getAttribute("admin")) == true ? true : false) Bon ok je sors... -- Florian Desbois <fdesbois@codelutin.com> SSLL Code Lutin http://www.codelutin.com tel : 02 40 50 29 28 Réseau Libre-Entreprise