From f27d105cc607dd78c51c0fe7cd07f4eccc9750f3 Mon Sep 17 00:00:00 2001 From: skodak Date: Wed, 12 Apr 2006 16:28:11 +0000 Subject: [PATCH] final fix for category and courses edit button --- lib/weblib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5