From ed586fb8638795b9b000a422ea3232708d9d78c7 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Wed, 4 Oct 2006 11:45:48 +0000 Subject: [PATCH] Typo. --- course/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/search.php b/course/search.php index 4e478de864..e2d5d7a448 100644 --- a/course/search.php +++ b/course/search.php @@ -43,7 +43,7 @@ /// Editing functions - if (has_capablity('moodle/course:visibility', get_context_instance(CONTEXT_SYSTEM, SITEID))) { + if (has_capability('moodle/course:visibility', get_context_instance(CONTEXT_SYSTEM, SITEID))) { /// Hide or show a course -- 2.39.5