mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
final fix for category and courses edit button
This commit is contained in:
parent
f26baa3e2b
commit
f27d105cc6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user