From: tjhunt Date: Mon, 24 Nov 2008 07:27:11 +0000 (+0000) Subject: Fix typo. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e86ecf1f043c8e199863a85b540efac4dbfbb1b9;p=moodle.git Fix typo. --- diff --git a/lib/accesslib.php b/lib/accesslib.php index 21421add71..4ff260edd9 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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);