Commit b7905bac authored by merlinofchaos's avatar merlinofchaos

#308137: Filters were incorrectly checking for current user permissions on...

#308137: Filters were incorrectly checking for current user permissions on header/footer/empty text.
parent 80631b87
......@@ -1472,12 +1472,9 @@ class views_plugin_display extends views_plugin {
$value = $this->get_option($area);
// Check to make sure the filter format exists; if not, we don't
// display anything.
$format = $this->get_option($area . '_format');
if (empty($format)) {
$format = FILTER_FORMAT_DEFAULT;
}
$format_val = filter_resolve_format($format);
if (!filter_formats($format_val)) {
$format = filter_resolve_format($this->get_option($area . '_format'));
if (!filter_list_format($format)) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment