Permalink
Browse files

MDL-25436 workshop: fixed deprecated function call

Credit goes to Paul Ortman for the patch.
  • Loading branch information...
mudrd8mz committed Nov 29, 2010
1 parent a9f07c4 commit 32a979e9a825c5268a289e6e54f61e5fcddcd6f9
Showing with 2 additions and 1 deletion.
  1. +2 −1 mod/workshop/index.php
View
@@ -71,6 +71,7 @@
$strsectionname = get_string('sectionname', 'format_'.$course->format);
$strname = get_string('name');
+$table = new html_table();
if ($usesections) {
$table->head = array ($strsectionname, $strname);
$table->align = array ('center', 'left');
@@ -96,7 +97,7 @@
}
echo $OUTPUT->heading(get_string('modulenameplural', 'workshop'), 2);
-print_table($table);
+echo html_writer::table($table);
/// Finish the page

0 comments on commit 32a979e

Please sign in to comment.