Bugfix.
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 9 Sep 2011 23:42:28 +0000 (01:42 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Fri, 9 Sep 2011 23:42:28 +0000 (01:42 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/auth.php

index 21f85bf..0d03dbf 100644 (file)
@@ -160,7 +160,7 @@ class AuthModule extends PLModule
         }
 
         if (Get::has('group')) {
-            $req_group_id = XDB::fetchOneCell('SELECT  asso_id
+            $req_group_id = XDB::fetchOneCell('SELECT  id
                                                  FROM  groups
                                                 WHERE  diminutif = {?}',
                                               Get::s('group'));