diff --git a/course/search.php b/course/search.php index 77adae63e8c..c8be73d923d 100644 --- a/course/search.php +++ b/course/search.php @@ -43,9 +43,6 @@ $adminediting = (isadmin() and $creatorediting); } else { - if (!$category->visible) { - error(get_string('notavailable', 'error')); - } $adminediting = false; $creatorediting = false; }