MDL-19792 Applied Sam's patch

This commit is contained in:
nicolasconnault 2009-09-07 10:01:26 +00:00
parent 84f797db5d
commit e640790eb6
5 changed files with 14 additions and 32 deletions

View file

@ -518,7 +518,7 @@ function blog_get_headers() {
$action = optional_param('action', null, PARAM_ALPHA);
$confirm = optional_param('confirm', false, PARAM_BOOL);
$headers = array('navlinks' => array(), 'title' => '', 'heading' => '', 'cm' => null);
$headers = array('title' => '', 'heading' => '', 'cm' => null);
$blog_url = new moodle_url($CFG->wwwroot . '/blog/index.php');
$site = $DB->get_record('course', array('id' => SITEID));