Fixes call to a non existing function during registration.
authorStéphane Jacob <sj@m4x.org>
Fri, 2 Jul 2010 23:11:25 +0000 (01:11 +0200)
committerStéphane Jacob <sj@m4x.org>
Fri, 2 Jul 2010 23:11:25 +0000 (01:11 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
modules/register/register.inc.php

index a54b053..afe8d97 100644 (file)
@@ -29,7 +29,7 @@ function checkId(&$subState)
     }
 
     $uf = new UserFilter(new PFC_And(
-            new UFC_UID($subState->i('xorg_id')),
+            new UFC_SchoolId('xorg', $subState->i('xorgid')),
             new PFC_Not(new UFC_Dead())
     ));
     $profile = $uf->getProfile();