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"]);
diff --git a/web/html/voters.php b/web/html/voters.php
index 997186d8..bacbcfc8 100644
--- a/web/html/voters.php
+++ b/web/html/voters.php
@@ -16,14 +16,14 @@ if (has_credential(CRED_PKGBASE_LIST_VOTERS)):
diff --git a/web/template/account_edit_form.php b/web/template/account_edit_form.php
index 833e74a8..6eff81bd 100644
--- a/web/template/account_edit_form.php
+++ b/web/template/account_edit_form.php
@@ -122,7 +122,7 @@