diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-09-29 01:55:19 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-09-29 01:55:19 +0000 |
commit | 581ad51dcb9c30111cf1d82f76d1404a10372d28 (patch) | |
tree | ca9832936d78187d12e08b0b677a871d3a70a994 | |
parent | f833423b504597d58657b731fc0eae327ed54db9 (diff) | |
download | brdo-581ad51dcb9c30111cf1d82f76d1404a10372d28.tar.gz brdo-581ad51dcb9c30111cf1d82f76d1404a10372d28.tar.bz2 |
- Patch #358437 by sun: follow-up with small bugfix
-rw-r--r-- | modules/filter/filter.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/filter/filter.module b/modules/filter/filter.module index ccd1b2cfc..f31a5d32c 100644 --- a/modules/filter/filter.module +++ b/modules/filter/filter.module @@ -678,7 +678,7 @@ function filter_list_format($format_id) { * @ingroup sanitization */ function check_markup($text, $format_id = NULL, $langcode = '', $cache = FALSE) { - if (empty($format_id)) { + if (!isset($format_id)) { $format_id = filter_fallback_format(); } // If the requested text format does not exist, the text cannot be filtered. |