summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-04-04 00:32:52 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-04-04 00:32:52 +0000
commit5e0ea8609b50d9af2efeabfc119bf2b306d55577 (patch)
tree56239857b926dd640f1c3b5ea14688f3caaf5bac /modules
parentda38e1b65464420d92aea7843fe19a43130fcbc3 (diff)
downloadbrdo-5e0ea8609b50d9af2efeabfc119bf2b306d55577.tar.gz
brdo-5e0ea8609b50d9af2efeabfc119bf2b306d55577.tar.bz2
Oopsie
Diffstat (limited to 'modules')
-rw-r--r--modules/filter.module2
-rw-r--r--modules/filter/filter.module2
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');