From: skodak Date: Wed, 12 Apr 2006 16:28:11 +0000 (+0000) Subject: final fix for category and courses edit button X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f27d105cc607dd78c51c0fe7cd07f4eccc9750f3;p=moodle.git final fix for category and courses edit button --- diff --git a/lib/weblib.php b/lib/weblib.php index f301307efe..ad24aed558 100644 --- a/lib/weblib.php +++ b/lib/weblib.php @@ -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 {