Fix typo (PlFilter instead of PlLimit)
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 22 Jun 2010 10:03:47 +0000 (12:03 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Tue, 22 Jun 2010 22:00:38 +0000 (00:00 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/userfilter.php

index bc106cf..20696a0 100644 (file)
@@ -1795,7 +1795,7 @@ class UserFilter extends PlFilter
 
     public function getUID($pos = 0)
     {
-        $uids =$this->getUIDList(null, new PlFilter(1, $pos));
+        $uids =$this->getUIDList(null, new PlLimit(1, $pos));
         if (count($uids) == 0) {
             return null;
         } else {
@@ -1811,7 +1811,7 @@ class UserFilter extends PlFilter
 
     public function getPID($pos = 0)
     {
-        $pids =$this->getPIDList(null, new PlFilter(1, $pos));
+        $pids =$this->getPIDList(null, new PlLimit(1, $pos));
         if (count($pids) == 0) {
             return null;
         } else {