summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsun2009-07-02 22:13:56 (GMT)
committer sun2009-07-02 22:13:56 (GMT)
commit83655c07eeb95401fb40eb6816273cb5fb4198f3 (patch)
treef9b99494b53402e86aa2eb54557a7e58f4e2003a
parent7b872b90fd7374244c5ede5c6d4b9fe2601c8349 (diff)
by sun: Fixed form_build_id not removed from serialized profile settings.
-rw-r--r--CHANGELOG.txt1
-rw-r--r--wysiwyg.admin.inc2
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 9ed4d3e..3a1b0f3 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -6,6 +6,7 @@ Wysiwyg x.x-x.x, xxxx-xx-xx
Wysiwyg 6.x-3.x, xxxx-xx-xx
---------------------------
+by sun: Fixed form_build_id not removed from serialized profile settings.
#496744 by TwoD: Fixed FCKeditor: "Apply source formatting" not working.
#462146 by sun: Added CKeditor support.
#490270 by sun: Fixed openWYSIWYG displays no buttons by default.
diff --git a/wysiwyg.admin.inc b/wysiwyg.admin.inc
index f5fcd99..4399894 100644
--- a/wysiwyg.admin.inc
+++ b/wysiwyg.admin.inc
@@ -309,7 +309,7 @@ function wysiwyg_profile_form_submit($form, &$form_state) {
// Remove FAPI values.
// @see system_settings_form_submit()
- unset($values['submit'], $values['form_id'], $values['op'], $values['form_token']);
+ unset($values['submit'], $values['form_id'], $values['op'], $values['form_token'], $values['form_build_id']);
// Insert new profile data.
db_query("UPDATE {wysiwyg} SET settings = '%s' WHERE format = %d", serialize($values), $format);