Skip to content

Commit

Permalink
fixed dml typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Dec 28, 2009
1 parent c2c04c6 commit 8c271b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/forum/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
}

if ($course->id == SITEID && has_capability('moodle/site:config', $syscontext)) {
$postcoursename = $DB->get_field('course', array('shortname' => 'id'), $forum->course);
$postcoursename = $DB->get_field('course', 'shortname', array('id'=>$forum->course));
$fullsubject = '<a href="'.$CFG->wwwroot.'/course/view.php?id='.$forum->course.'">'.$postcoursename.'</a> -> '. $fullsubject;
}

Expand Down

0 comments on commit 8c271b2

Please sign in to comment.