Fix bug in PlUser::getSilentWithUID
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 21 Jul 2009 15:17:28 +0000 (17:17 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 21 Jul 2009 15:17:28 +0000 (17:17 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/pluser.php

index 9c44b46..746f77b 100644 (file)
@@ -288,7 +288,7 @@ abstract class PlUser
 
     public static function getSilentWithUID($uid)
     {
-        return User::getWithValues($uid, array('User', '_silent_user_callback'));
+        return User::getWithValues(null, array('user_id' => $uid), array('User', '_silent_user_callback'));
     }
 
     /**