X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fcarnet%2Ffeed.inc.php;h=fad227c74f709db24d747311e3ac2b0703536805;hb=33b6f5a0072343de978e05f855739322b94179e5;hp=68f7fcffc7cdbd76bdf160cff5f18da2e24b4b3b;hpb=d0edeb70f254ed642b59c7c3636b7802266bcfe4;p=platal.git diff --git a/modules/carnet/feed.inc.php b/modules/carnet/feed.inc.php index 68f7fcf..fad227c 100644 --- a/modules/carnet/feed.inc.php +++ b/modules/carnet/feed.inc.php @@ -29,7 +29,7 @@ class CarnetFeedIterator implements PlIterator public function __construct(Notifs& $notifs) { $this->notifs =& $notifs; - $this->it = new PlArrayIterator($notifs->_data, 3); + $this->it = PlIteratorUtils::fromArray($notifs->_data, 3); } public function next()