diff options
-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. |