diff options
Diffstat (limited to 'modules-available/dozmod/pages/expiredimages.inc.php')
-rw-r--r-- | modules-available/dozmod/pages/expiredimages.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/dozmod/pages/expiredimages.inc.php b/modules-available/dozmod/pages/expiredimages.inc.php index 0ecdaa77..b61b863b 100644 --- a/modules-available/dozmod/pages/expiredimages.inc.php +++ b/modules-available/dozmod/pages/expiredimages.inc.php @@ -22,7 +22,7 @@ class SubPage ORDER BY b.displayname ASC, v.createtime ASC"); $NOW = time(); $rows = array(); - while ($row = $res->fetch(PDO::FETCH_ASSOC)) { + foreach ($res as $row) { if ($row['latexptime'] > $NOW && $row['latdelstate'] === 'KEEP') { $row['hasNewerClass'] = 'glyphicon-ok green'; $row['checked'] = 'checked'; |