]> git.mjollnir.org Git - moodle.git/commitdiff
Fix typo.
authortjhunt <tjhunt>
Mon, 24 Nov 2008 07:27:11 +0000 (07:27 +0000)
committertjhunt <tjhunt>
Mon, 24 Nov 2008 07:27:11 +0000 (07:27 +0000)
lib/accesslib.php

index 21421add714b1a7ffcb5e3d914761527e276880f..4ff260edd96d1fe4ddda97100bcee35793f7557e 100755 (executable)
@@ -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);