]> git.mjollnir.org Git - moodle.git/commitdiff
final fix for category and courses edit button
authorskodak <skodak>
Wed, 12 Apr 2006 16:28:11 +0000 (16:28 +0000)
committerskodak <skodak>
Wed, 12 Apr 2006 16:28:11 +0000 (16:28 +0000)
lib/weblib.php

index f301307efe4056fb547716f1a032e51cd76bea94..ad24aed5587d53ef9a56e2314efd92554389b4fd 100644 (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 {