summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlbox/index.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlbox/index.php b/sqlbox/index.php
index b4c9456..b0942e0 100644
--- a/sqlbox/index.php
+++ b/sqlbox/index.php
@@ -51,6 +51,7 @@ if (! $sqlboxs = get_all_instances_in_course('sqlbox', $course)) {
notice(get_string('nosqlboxs', 'sqlbox'), new moodle_url('/course/view.php', array('id' => $course->id)));
}
+$table = new html_table();
if ($course->format == 'weeks') {
$table->head = array(get_string('week'), get_string('name'));
$table->align = array('center', 'left');