Skip to content

Instantly share code, notes, and snippets.

@googletorp
Last active December 23, 2015 06:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save googletorp/6597479 to your computer and use it in GitHub Desktop.
Save googletorp/6597479 to your computer and use it in GitHub Desktop.
Quicktabs
diff --git a/quicktabs.module b/quicktabs.module
index 182a89c..9d3ba1b 100644
--- a/quicktabs.module
+++ b/quicktabs.module
@@ -150,6 +150,7 @@ function quicktabs_block_view($delta = '') {
$block['content'] = $qt['content'];
$block['content']['#contextual_links']['quicktabs'] = array('admin/structure/quicktabs/manage', array($delta));
$block['subject'] = check_plain($qt['#title']);
+ $block['content'] = render($block['content']);
}
}
return $block;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment