final fix for category and courses edit button
This commit is contained in:
+1
-1
@@ -3479,7 +3479,7 @@ function update_categories_button() {
|
||||
global $CFG, $USER;
|
||||
|
||||
if (isadmin()) {
|
||||
if (!empty($USER->categoriesediting)) {
|
||||
if (!empty($USER->categoryediting)) {
|
||||
$string = get_string('turneditingoff');
|
||||
$edit = 'off';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user