--- lib/weblib.php.ORIG 2008-08-08 03:18:04.000000000 +0300 +++ lib/weblib.php 2008-09-22 13:23:03.753041638 +0300 @@ -5192,7 +5192,9 @@ function update_category_button($categoryid) { global $CFG, $USER; - if (has_capability('moodle/category:update', get_context_instance(CONTEXT_COURSECAT, $categoryid))) { + if (has_capability('moodle/category:update', get_context_instance(CONTEXT_COURSECAT, $categoryid)) || + has_capability('moodle/course:create', get_context_instance(CONTEXT_COURSECAT, $categoryid)) ) + { if (!empty($USER->categoryediting)) { $string = get_string('turneditingoff'); $edit = 'off';