Permalink
Browse files

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

…nto MOODLE_24_STABLE
  • Loading branch information...
2 parents bc2de4a + b59f90e commit 2c9a28bbe6df74ca40db9d67cac775942670a8ac @stronk7 stronk7 committed Feb 11, 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->enableblogs) && has_capability('moodle/blog:view', $systemcontext)) {
require_once($CFG->dirroot.'/blog/lib.php');
require_once($CFG->dirroot.'/blog/locallib.php');

0 comments on commit 2c9a28b

Please sign in to comment.