Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/panels_breadcrumbs.module b/panels_breadcrumbs.module
- index 42b1814..b5f1c5c 100644
- --- a/panels_breadcrumbs.module
- +++ b/panels_breadcrumbs.module
- @@ -123,8 +123,8 @@ function panels_breadcrumbs_ctools_render_alter($info, $page, $context) {
- $display_context = $context['handler']->conf['display']->context;
- // Look for Placeholder Tokens in Titles and Paths and Convert them for this Display
- - $titles = ctools_context_keyword_substitute($conf['panels_breadcrumbs_titles'], array(), $display_context);
- - $paths = ctools_context_keyword_substitute($conf['panels_breadcrumbs_paths'], array(), $display_context);
- + $titles = ctools_context_keyword_substitute($conf['panels_breadcrumbs_titles'], array(), $display_context, array('sanitize' => FALSE));
- + $paths = ctools_context_keyword_substitute($conf['panels_breadcrumbs_paths'], array(), $display_context, array('sanitize' => FALSE));
- // Breaks titles and paths into arrays and removes empty keys.
- $titles = array_filter(array_map('trim', explode(PHP_EOL, $titles)), 'strlen');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement