diff options
Diffstat (limited to 'web/template/pkgreq_results.php')
-rw-r--r-- | web/template/pkgreq_results.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/template/pkgreq_results.php b/web/template/pkgreq_results.php index e02cff3e..1a565c3e 100644 --- a/web/template/pkgreq_results.php +++ b/web/template/pkgreq_results.php @@ -36,7 +36,7 @@ </thead> <tbody> - <?php while (list($indx, $row) = each($results)): ?> + <?php foreach ($results as $indx => $row): ?> <?php $idle_time = config_get_int('options', 'request_idle_time'); $due = ($row['Open'] && time() - intval($row['RequestTS']) > $idle_time); @@ -100,7 +100,7 @@ <td><?= __("unknown") ?></td> <?php endif; ?> </tr> - <?php endwhile; ?> + <?php endforeach; ?> </tbody> </table> |