final fix for category and courses edit button

This commit is contained in:
skodak 2006-04-12 16:28:11 +00:00
parent f26baa3e2b
commit f27d105cc6

View File

@ -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 {