community block MDL-23629 fix missing global $CFG in the renderer

This commit is contained in:
jerome mouneyrac
2010-08-03 09:50:40 +00:00
parent 43f258cdbe
commit 4cab1150ea
+1
View File
@@ -59,6 +59,7 @@ class core_publish_renderer extends plugin_renderer_base {
* Display the listing of hub where a course is registered on
*/
public function registeredonhublisting($courseid, $publications) {
global $CFG;
$table = new html_table();
$table->head = array(get_string('type', 'hub'), get_string('hub', 'hub'),
get_string('date'), get_string('status', 'hub'), get_string('operation', 'hub'));