summaryrefslogtreecommitdiffstats
path: root/web/html/rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/rss.php')
-rw-r--r--web/html/rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/rss.php b/web/html/rss.php
index 8585d81d..d6e7825a 100644
--- a/web/html/rss.php
+++ b/web/html/rss.php
@@ -40,7 +40,7 @@ $rss->image = $image;
#Get the latest packages and add items for them
$packages = latest_pkgs(20);
-while (list($indx, $row) = each($packages)) {
+foreach ($packages as $indx => $row) {
$item = new FeedItem();
$item->title = $row["Name"];
$item->link = "{$protocol}://{$host}" . get_pkg_uri($row["Name"]);