Various bugfixes.
[platal.git] / modules / events / feed.inc.php
index 02bb8be..802725c 100644 (file)
@@ -31,7 +31,7 @@ class EventFeed extends PlFeed
                             'events/rss.tpl');
     }
 
-    private static function nextEvent(PlIterator &$it, PlUser &$user)
+    public static function nextEvent(PlIterator &$it, PlUser &$user)
     {
         while ($body = $it->next()) {
             $uf = UserFilter::getLegacy($body['promo_min'], $body['promo_max']);