Fix variable names.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 18 Aug 2008 21:14:15 +0000 (23:14 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Mon, 18 Aug 2008 21:14:15 +0000 (23:14 +0200)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
modules/carnet/feed.inc.php

index 0a24f6b..fa8290b 100644 (file)
@@ -54,8 +54,8 @@ class CarnetFeedIterator implements PlIterator
     public function next()
     {
         $this->pos++;
-        $this->first = ($this->count > 0 && $this->pos == 1);
-        $this->last  = ($this->count > 0 && $this->pos == $this->count);
+        $this->start = ($this->count > 0 && $this->pos == 1);
+        $this->stop  = ($this->count > 0 && $this->pos == $this->count);
         if ($this->count == 0) {
             return null;
         }