diff --git a/handler/MainHandler.php b/handler/MainHandler.php index f544c86..c61f8d4 100644 --- a/handler/MainHandler.php +++ b/handler/MainHandler.php @@ -132,7 +132,7 @@ class MainHandler extends request_handler { 'pub_date' => date(DATE_RSS, $post->getTimestamp()), 'description' => $pt->getDescriptionPreview(500) ]; - }, is_admin() ? posts::getList(0, 20, filter_by_lang: $lang) : []); + }, posts::getList(0, 20, filter_by_lang: $lang)); $ctx = skin('rss'); $body = $ctx->atom(