summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Couch2014-10-13 13:01:31 (GMT)
committerAaron Couch2014-10-13 13:01:31 (GMT)
commit8f316a103866b98215291e1bda37878273721927 (patch)
tree0edb2328c1b7735529058e06e06b3ce0a0328e42
parent200302f4becb37231a33e0512378557eb7320047 (diff)
Update dkan_sitewide_demo_front.module7.x-1.4
Fixes broken formatting on front page blocks.
-rw-r--r--modules/dkan/dkan_sitewide/modules/dkan_sitewide_demo_front/dkan_sitewide_demo_front.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/dkan/dkan_sitewide/modules/dkan_sitewide_demo_front/dkan_sitewide_demo_front.module b/modules/dkan/dkan_sitewide/modules/dkan_sitewide_demo_front/dkan_sitewide_demo_front.module
index 57154ae..f34cc85 100644
--- a/modules/dkan/dkan_sitewide/modules/dkan_sitewide_demo_front/dkan_sitewide_demo_front.module
+++ b/modules/dkan/dkan_sitewide/modules/dkan_sitewide_demo_front/dkan_sitewide_demo_front.module
@@ -36,7 +36,7 @@ function dkan_sitewide_demo_front_block_view($delta = '') {
case 'dkan_demo_front':
$block['subject'] = t('Welcome to the DKAN Demo');
$default = dkan_demo_front_block();
- $block['content'] = check_markup(variable_get('dkan_sitewide_demo_front_dkan_demo_front_text', $default), variable_get('dkan_sitewide_demo_front_dkan_demo_front_format', filter_fallback_format()));
+ $block['content'] = check_markup(variable_get('dkan_sitewide_demo_front_dkan_demo_front_text', $default), variable_get('dkan_sitewide_demo_front_dkan_demo_front_format', 'html'));
break;
case 'dkan_search_front':
@@ -47,7 +47,7 @@ function dkan_sitewide_demo_front_block_view($delta = '') {
case 'dkan_add_front':
$block['subject'] = t('Add a Dataset');
$default = dkan_add_front_block();
- $block['content'] = check_markup(variable_get('dkan_sitewide_demo_front_dkan_add_front_text', $default), variable_get('dkan_sitewide_demo_front_dkan_add_front_format', filter_fallback_format()));
+ $block['content'] = check_markup(variable_get('dkan_sitewide_demo_front_dkan_add_front_text', $default), variable_get('dkan_sitewide_demo_front_dkan_add_front_format', 'html'));
break;
}
return $block;