MDL-28072 coursereport: added a missing require_once()

This commit is contained in:
Andrew Davis (andyjdavis)
2011-12-16 12:18:29 +01:00
committed by Eloy Lafuente (stronk7)
parent e460b8846d
commit 0958a64834
+1
View File
@@ -125,6 +125,7 @@
$reportrow->cells[] = $numviewscell;
if ($CFG->useblogassociations) {
require_once($CFG->dirroot.'/blog/lib.php');
$blogcell = new html_table_cell();
$blogcell->attributes['class'] = 'blog';
if ($blogcount = blog_get_associated_count($course->id, $cm->id)) {