From e86ecf1f043c8e199863a85b540efac4dbfbb1b9 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Mon, 24 Nov 2008 07:27:11 +0000 Subject: [PATCH] Fix typo. --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5