From 5e0ea8609b50d9af2efeabfc119bf2b306d55577 Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Tue, 4 Apr 2006 00:32:52 +0000 Subject: Oopsie --- modules/filter.module | 2 +- modules/filter/filter.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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'); -- cgit v1.2.3