summaryrefslogtreecommitdiff
path: root/core/views
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-01-16 04:49:56 +0000
committerBharat Mediratta <bharat@menalto.com>2009-01-16 04:49:56 +0000
commit72fa5736ff611407c995aac19b06f6bf8c2f8a31 (patch)
tree5f6f3ba40988f9ceaddf4acaab3d394849b7bc1c /core/views
parentb2e37f20c73f7f29bafca9bcf95c1e59902a50ee (diff)
Rename Change xxx_task::available() to xxx_task::available_tasks()
Fix a bug in admin_maintenance.html.php where we were only showing the first task
Diffstat (limited to 'core/views')
-rw-r--r--core/views/admin_maintenance.html.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/views/admin_maintenance.html.php b/core/views/admin_maintenance.html.php
index fd5f7a58..b893ed0d 100644
--- a/core/views/admin_maintenance.html.php
+++ b/core/views/admin_maintenance.html.php
@@ -19,7 +19,7 @@
<?= t("Action") ?>
</th>
</tr>
- <? foreach ($task_definitions as $task) ?>
+ <? foreach ($task_definitions as $task): ?>
<tr class="<?= log::severity_class($task->severity) ?>">
<td>
<?= $task->name ?>
@@ -34,6 +34,7 @@
</a>
</td>
</tr>
+ <? endforeach ?>
</table>
</div>