From: Raphaël Barrois Date: Tue, 22 Jun 2010 10:03:47 +0000 (+0200) Subject: Fix typo (PlFilter instead of PlLimit) X-Git-Tag: xorg/1.0.0~96 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=983f38643ba462b944d591e7054471cba97ec361;p=platal.git Fix typo (PlFilter instead of PlLimit) Signed-off-by: Raphaël Barrois --- diff --git a/classes/userfilter.php b/classes/userfilter.php index bc106cf..20696a0 100644 --- a/classes/userfilter.php +++ b/classes/userfilter.php @@ -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 {