diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-04 00:32:52 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-04-04 00:32:52 +0000 |
commit | 5e0ea8609b50d9af2efeabfc119bf2b306d55577 (patch) | |
tree | 56239857b926dd640f1c3b5ea14688f3caaf5bac /modules | |
parent | da38e1b65464420d92aea7843fe19a43130fcbc3 (diff) | |
download | brdo-5e0ea8609b50d9af2efeabfc119bf2b306d55577.tar.gz brdo-5e0ea8609b50d9af2efeabfc119bf2b306d55577.tar.bz2 |
Oopsie
Diffstat (limited to 'modules')
-rw-r--r-- | modules/filter.module | 2 | ||||
-rw-r--r-- | modules/filter/filter.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/filter.module b/modules/filter.module index 1136a402a..33fd75ed7 100644 --- a/modules/filter.module +++ b/modules/filter.module @@ -794,7 +794,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) { * HTML for the form element. */ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents = array('format')) { - $format = filter_resolve_format($format); + $value = filter_resolve_format($value); $formats = filter_formats(); $extra = l(t('More information about formatting options'), 'filter/tips'); diff --git a/modules/filter/filter.module b/modules/filter/filter.module index 1136a402a..33fd75ed7 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -794,7 +794,7 @@ function check_markup($text, $format = FILTER_FORMAT_DEFAULT, $check = TRUE) { * HTML for the form element. */ function filter_form($value = FILTER_FORMAT_DEFAULT, $weight = NULL, $parents = array('format')) { - $format = filter_resolve_format($format); + $value = filter_resolve_format($value); $formats = filter_formats(); $extra = l(t('More information about formatting options'), 'filter/tips'); |