Permalink
Browse files

Merge branch 'MDL-35037-23' of git://github.com/danpoltawski/moodle i…

…nto MOODLE_23_STABLE
  • Loading branch information...
2 parents a3ded4c + 0dcf51a commit c27b257b1423b8a24c495ad19d31bc2e67c42ea0 @stronk7 stronk7 committed Feb 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 tag/index.php
View
@@ -96,7 +96,7 @@
require_once($CFG->dirroot.'/tag/coursetagslib.php');
$courses = coursetag_get_tagged_courses($tag->id);
-if (has_capability('moodle/blog:view', $systemcontext)) {
+if (!empty($CFG->bloglevel) && has_capability('moodle/blog:view', $systemcontext)) {
require_once($CFG->dirroot.'/blog/lib.php');
require_once($CFG->dirroot.'/blog/locallib.php');

0 comments on commit c27b257

Please sign in to comment.