summaryrefslogtreecommitdiff
path: root/web/template/stats/updates_table.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/stats/updates_table.php')
-rw-r--r--web/template/stats/updates_table.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/template/stats/updates_table.php b/web/template/stats/updates_table.php
index e1eb888..9d1af01 100644
--- a/web/template/stats/updates_table.php
+++ b/web/template/stats/updates_table.php
@@ -6,8 +6,7 @@
</th>
</tr>
-<?php while ($row = mysql_fetch_assoc($newest_packages)): ?>
-
+<?php foreach ($newest_packages->getIterator() as $row): ?>
<tr>
<td class="boxSoft">
<span class="f4"><span class="blue">
@@ -34,7 +33,7 @@ endif;
</td>
</tr>
-<?php endwhile; ?>
+<?php endforeach; ?>
</table>