summaryrefslogtreecommitdiff
path: root/sqlbox
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-22 10:54:14 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2012-11-22 11:09:23 +0100
commit215c5b14818dd4a6bb2e1f72a56902dbc7ce8143 (patch)
treea17ddf493de37136b5cb79206992297e4c953ef4 /sqlbox
parentbbee0f79be6080ba589b043e68321c17dd295d65 (diff)
downloadsqltutor-plugin-215c5b14818dd4a6bb2e1f72a56902dbc7ce8143.tar.gz
sqltutor-plugin-215c5b14818dd4a6bb2e1f72a56902dbc7ce8143.tar.bz2
sqltutor-plugin-215c5b14818dd4a6bb2e1f72a56902dbc7ce8143.zip
sqlbox/index.php: Initialize $table as html_table
Diffstat (limited to 'sqlbox')
-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');