summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt3
-rw-r--r--fckeditor.module4
2 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index ad60188..e3587ae 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,5 +1,8 @@
$Id$
+-- 2009-07-25 version 6.x-2.x-dev
+* #366431 Don't process textareas with #access = false
+
-- 2009-07-24 version 6.x-2.x-dev
* #461234 Add notice that both profile and global profile rules apply
* #530184 Add notice about importance of fckeditor_php*.php files to README.txt
diff --git a/fckeditor.module b/fckeditor.module
index 0e601bb..5a4d6c4 100644
--- a/fckeditor.module
+++ b/fckeditor.module
@@ -451,6 +451,10 @@ function fckeditor_process_textarea($element) {
return $element;
}
+ if (isset($element['#access']) && !$element['#access']) {
+ return $element;
+ }
+
//skip this one, surely nobody wants WYSIWYG here
switch ($element['#id']) {
case 'edit-log':