summaryrefslogtreecommitdiffstats
path: root/web/template/tu_list.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/tu_list.php')
-rw-r--r--web/template/tu_list.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/tu_list.php b/web/template/tu_list.php
index b7253f98..204c89ea 100644
--- a/web/template/tu_list.php
+++ b/web/template/tu_list.php
@@ -26,7 +26,7 @@
</thead>
<tbody>
- <?php while (list($indx, $row) = each($result)): ?>
+ <?php foreach ($result as $indx => $row): ?>
<?php
if ($indx % 2) {
$c = "even";
@@ -60,7 +60,7 @@
<?php endif; ?>
</td>
</tr>
- <?php endwhile; ?>
+ <?php endforeach; ?>
</tbody>
</table>