Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhunt committed Nov 24, 2008
1 parent ff493b6 commit e86ecf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/accesslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -3368,7 +3368,7 @@ function print_context_name($context, $withprefix = true, $short = false) {
if ($withprefix){
$name = get_string('course').': ';
}
if (!$short){
if ($short){
$name .= format_string($course->shortname);
} else {
$name .= format_string($course->fullname);
Expand Down

0 comments on commit e86ecf1

Please sign in to comment.