From 215c5b14818dd4a6bb2e1f72a56902dbc7ce8143 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 22 Nov 2012 10:54:14 +0100 Subject: sqlbox/index.php: Initialize $table as html_table --- sqlbox/index.php | 1 + 1 file changed, 1 insertion(+) (limited to 'sqlbox') 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'); -- cgit